mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
Fix accessible-role of ProgressIndicator (#4912)
In other styles it's defined as progress-indicator.
This commit is contained in:
parent
da30fa2663
commit
1a57e9fc7a
2 changed files with 5 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ export component ProgressIndicator {
|
|||
min-height: 4px;
|
||||
horizontal-stretch: 1;
|
||||
vertical-stretch: 0;
|
||||
accessible-role: none;
|
||||
accessible-role: progress-indicator;
|
||||
accessible-value: root.progress;
|
||||
|
||||
Rectangle {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
|
||||
|
||||
export component ProgressIndicator inherits NativeProgressIndicator {}
|
||||
export component ProgressIndicator inherits NativeProgressIndicator {
|
||||
accessible-role: progress-indicator;
|
||||
accessible-value: root.progress;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue