digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
77 stars 37 forks source link

DropdownMenu: Write guidelines for usage #1482

Open mrosvik opened 8 months ago

mrosvik commented 8 months ago

...and document why we do not use role="menu" + keyboard navigation (spoiler: this is a not very common UU pattern, so users will not be confused by an implementation without, and it would make the Dropdown and the surrounding trigger-buttons quite restricted in usage as it requires specific roles and keyboard bindings to all children and trigger-siblings, see https://www.w3.org/WAI/ARIA/apg/patterns/menubar/)

Ildest commented 7 months ago

Lagt til Word-fil i Teams

Ildest commented 6 months ago

Status 21. March: Draft submitted by Ann-Elisabeth in https://digdir.sharepoint.com/:w:/r/sites/bod-bbo/Delte%20dokumenter/Team%20Designsystem/God%20praksis%20og%20retningslinjer/Komponenter/Dropdown%20menu.docx?d=w1525b670ad4548dba699ffd51fef9807&csf=1&web=1&e=cqjbsb

Barsnes commented 1 month ago

I'll wait with this until https://github.com/digdir/designsystemet/issues/2288 is closed