mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Widgets: test that widgets have the same accessible-role in all styles (#5065)
This commit is contained in:
parent
01e0f0c526
commit
eb2b7bf178
11 changed files with 38 additions and 7 deletions
|
@ -36,11 +36,10 @@ export component StandardButton {
|
|||
|
||||
callback clicked <=> native.clicked;
|
||||
|
||||
accessible-label: native.text;
|
||||
accessible-role: button;
|
||||
|
||||
HorizontalLayout {
|
||||
native := NativeButton {
|
||||
accessible-label: native.text;
|
||||
accessible-role: button;
|
||||
is-standard-button: true;
|
||||
checkable: false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue