mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-28 19:41:33 +02:00
Add ARIA attributes for menu and separator (#25501)
GitOrigin-RevId: ef80d2811ecee78adc8bb359cf3b059d79fe9900
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user