зеркало из https://github.com/Azure/BatchExplorer.git
Accessibility fixes for windows high contrast buttons (#2826)
* AB#1060 general fix for disabled buttons in windows high contrast mode * AB#1051 narrator will read aloud favorites dropdown options now --------- Co-authored-by: Rena Chen <rechen@microsoft.com>
This commit is contained in:
Родитель
e4c00c1895
Коммит
8de3de2e93
|
@ -180,5 +180,9 @@ bl-button {
|
|||
@media (forced-colors: active) {
|
||||
bl-button {
|
||||
border: 1px solid currentColor;
|
||||
|
||||
&.disabled {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
(contextmenu)="onContextMenu(favorite)">
|
||||
|
||||
<bl-clickable class="dropdown-item favorite-item" (do)="gotoFavorite(favorite)">
|
||||
<span aria-hidden="true">
|
||||
<span attr.aria-label="{{favorite.name || favorite.id}}">
|
||||
<i class="entity-type fa" [ngClass]="entityIcon(favorite)"
|
||||
[title]="entityType(favorite)"></i>
|
||||
{{favorite.name || favorite.id}}
|
||||
|
|
Загрузка…
Ссылка в новой задаче