Skip to content

Commit 8de3de2

Browse files
cRui861Rena Chen
andauthored
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>
1 parent e4c00c1 commit 8de3de2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

desktop/src/@batch-flask/ui/buttons/button.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,9 @@ bl-button {
180180
@media (forced-colors: active) {
181181
bl-button {
182182
border: 1px solid currentColor;
183+
184+
&.disabled {
185+
opacity: 0.3;
186+
}
183187
}
184188
}

desktop/src/app/components/layout/pinned-entity-dropdown/pinned-dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
(contextmenu)="onContextMenu(favorite)">
1212

1313
<bl-clickable class="dropdown-item favorite-item" (do)="gotoFavorite(favorite)">
14-
<span aria-hidden="true">
14+
<span attr.aria-label="{{favorite.name || favorite.id}}">
1515
<i class="entity-type fa" [ngClass]="entityIcon(favorite)"
1616
[title]="entityType(favorite)"></i>
1717
{{favorite.name || favorite.id}}

0 commit comments

Comments
 (0)