Remove combo box's inner label from the accessibility tree

This commit is contained in:
Arnold Loubriat 2024-12-25 11:02:39 +01:00 committed by Simon Hausmann
parent f30f953ffd
commit 79b4950f41
4 changed files with 4 additions and 0 deletions

View file

@ -66,6 +66,7 @@ export component ComboBox {
font-weight: CosmicFontSettings.body.font-weight;
color: CosmicPalette.control-foreground;
text: root.current-value;
accessible-role: none;
}
Image {

View file

@ -98,6 +98,7 @@ export component ComboBox {
font-weight: CupertinoFontSettings.body.font-weight;
color: CupertinoPalette.foreground;
text: root.current-value;
accessible-role: none;
}
VerticalLayout {

View file

@ -80,6 +80,7 @@ export component ComboBox {
font-weight: FluentFontSettings.body.font-weight;
color: FluentPalette.control-foreground;
text: root.current-value;
accessible-role: none;
}
icon := Image {

View file

@ -77,6 +77,7 @@ export component ComboBox {
// font-family: MaterialFontSettings.body-large.font;
font-size: MaterialFontSettings.body-large.font-size;
font-weight: MaterialFontSettings.body-large.font-weight;
accessible-role: none;
}
icon := Image {