Widgets: test that widgets have the same accessible-role in all styles (#5065)

This commit is contained in:
Olivier Goffart 2024-04-15 18:15:47 +02:00 committed by GitHub
parent 01e0f0c526
commit eb2b7bf178
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 38 additions and 7 deletions

View file

@ -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;
}