Skip to content

Commit

Permalink
Add aria-expanded to settings accordion button
Browse files Browse the repository at this point in the history
Mark settings button that triggers the expand/collaps of the
side nav settings with aria-expanded attribute to improve accesibility.

Resolves : nextcloud/server#37136

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
  • Loading branch information
Fenn-CS committed May 17, 2023
1 parent 2d6245a commit 484635d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -27,6 +27,9 @@
<div id="app-settings__header">
<button class="settings-button"
type="button"
:aria-expanded="open"
aria-controls="app-settings__content"
aria-label="t('Open settings menu')"
@click="toggleMenu">
<Cog class="settings-button__icon" :size="20" />
<span class="settings-button__label">{{ title }}</span>
Expand Down

0 comments on commit 484635d

Please sign in to comment.