Skip to content

Commit

Permalink
[a11y] Fix: aria-haspop and aria-expanded attributes on list view but…
Browse files Browse the repository at this point in the history
…ton.
  • Loading branch information
jorgefilipecosta committed Aug 22, 2023
1 parent b36ac1b commit 3751564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function HeaderToolbar() {
shortcut={ listViewShortcut }
showTooltip={ ! showIconLabels }
variant={ showIconLabels ? 'tertiary' : undefined }
aria-expanded={ isListViewOpen }
/>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export default function HeaderEditMode() {
? 'tertiary'
: undefined
}
aria-expanded={ isListViewOpen }
/>
) }
{ isZoomedOutViewExperimentEnabled &&
Expand Down

0 comments on commit 3751564

Please sign in to comment.