Add ARIA attributes for menu and separator (#25501)

GitOrigin-RevId: ef80d2811ecee78adc8bb359cf3b059d79fe9900
This commit is contained in:
Rebeka Dekany
2025-05-12 18:10:11 +02:00
committed by Copybot
parent ac51878186
commit 7c79c3b4c3
2 changed files with 3 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ function SidebarDsNav() {
sendMB('menu-expand', { item: 'help', location: 'sidebar' })
}
}}
role="menu"
>
<Dropdown.Toggle role="menuitem" aria-label={t('help')}>
<OLTooltip
@@ -117,6 +118,7 @@ function SidebarDsNav() {
})
}
}}
role="menu"
>
<Dropdown.Toggle role="menuitem" aria-label={t('Account')}>
<OLTooltip

View File

@@ -37,7 +37,7 @@ export default function SidebarFilters() {
<SidebarFilter filter="shared" text={t('shared_with_you')} />
<SidebarFilter filter="archived" text={t('archived_projects')} />
<SidebarFilter filter="trashed" text={t('trashed_projects')} />
<li role="none">
<li aria-hidden="true">
<hr />
</li>
<TagsList />