Add the accessible-expandable property

This commit is contained in:
Arnold Loubriat 2024-12-22 16:15:37 +01:00 committed by Simon Hausmann
parent e442965889
commit 53fd7b12e4
12 changed files with 42 additions and 0 deletions

View file

@ -197,6 +197,7 @@ pub fn reserved_accessibility_properties() -> impl Iterator<Item = (&'static str
("accessible-delegate-focus", Type::Int32),
("accessible-description", Type::String),
("accessible-enabled", Type::Bool),
("accessible-expandable", Type::Bool),
("accessible-label", Type::String),
("accessible-value", Type::String),
("accessible-value-maximum", Type::Float32),

View file

@ -26,6 +26,7 @@ export component ComboBox {
forward-focus: base;
accessible-role: combobox;
accessible-enabled: root.enabled;
accessible-expandable: true;
accessible-value <=> root.current-value;
states [

View file

@ -26,6 +26,7 @@ export component ComboBox {
forward-focus: base;
accessible-role: combobox;
accessible-enabled: root.enabled;
accessible-expandable: true;
accessible-value <=> root.current-value;
states [

View file

@ -26,6 +26,7 @@ export component ComboBox {
accessible-role: combobox;
accessible-enabled: root.enabled;
accessible-expandable: true;
accessible-value <=> root.current-value;
states [

View file

@ -25,6 +25,7 @@ export component ComboBox {
forward-focus: base;
accessible-role: combobox;
accessible-enabled: root.enabled;
accessible-expandable: true;
accessible-value <=> root.current-value;
states [

View file

@ -15,6 +15,7 @@ export component ComboBox {
accessible-role: combobox;
accessible-enabled: root.enabled;
accessible-expandable: true;
accessible-value <=> root.current-value;
forward-focus: base;