Fix accessible-role of ProgressIndicator (#4912)

In other styles it's defined as progress-indicator.
This commit is contained in:
Montel Laurent 2024-03-21 15:42:31 +01:00 committed by GitHub
parent da30fa2663
commit 1a57e9fc7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -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 {

View file

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