We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6146089 commit 8392850Copy full SHA for 8392850
1 file changed
platforms/android/src/node.rs
@@ -67,16 +67,7 @@ impl NodeWrapper<'_> {
67
}
68
69
fn is_selected(&self) -> bool {
70
- match self.0.role() {
71
- // https://www.w3.org/TR/core-aam-1.1/#mapping_state-property_table
72
- // SelectionItem.IsSelected is set according to the True or False
73
- // value of aria-checked for 'radio' and 'menuitemradio' roles.
74
- Role::RadioButton | Role::MenuItemRadio => self.0.toggled() == Some(Toggled::True),
75
- // https://www.w3.org/TR/wai-aria-1.1/#aria-selected
76
77
- // value of aria-selected.
78
- _ => self.0.is_selected().unwrap_or(false),
79
- }
+ self.0.is_selected().unwrap_or(false)
80
81
82
fn content_description(&self) -> Option<String> {
0 commit comments