Review accessibility of our listless menus #77

Open
opened 2018-08-24 13:24:14 +00:00 by mlncn · 3 comments
mlncn commented 2018-08-24 13:24:14 +00:00 (Migrated from gitlab.com)

Following the lovely design's static layout perhaps a bit too closely, i implemented it as shown with <div>s rather than <ul>s and unadorned <a> instead of <li> tags. This didn't concern me at all from an accessibility perspective until getting to the sub-menus— this, it seems, should have a semantic way of being 'below' their parent items in the hierarchy.

My implementation: https://gitlab.com/agaric/patternlibrary/blob/master/agaric/templates/navigation/menu.html.twig

Original: https://cgit.drupalcode.org/bulma/tree/templates/navigation/menu.html.twig

Following the lovely design's [static layout](https://gitlab.com/agaric/patternlibrary/blob/master/static-layouts/design-output/index.html) perhaps a bit too closely, i implemented it as shown with `<div>`s rather than `<ul>`s and unadorned `<a>` instead of `<li>` tags. This didn't concern me at all from an accessibility perspective until getting to the sub-menus— this, it seems, should have a semantic way of being 'below' their parent items in the hierarchy. My implementation: https://gitlab.com/agaric/patternlibrary/blob/master/agaric/templates/navigation/menu.html.twig Original: https://cgit.drupalcode.org/bulma/tree/templates/navigation/menu.html.twig
mlncn commented 2018-08-24 13:31:17 +00:00 (Migrated from gitlab.com)

mentioned in commit agaric/patternlibrary@d91434b9b6

mentioned in commit agaric/patternlibrary@d91434b9b6786ee3388f4d9bfa684fd922911efd
mlncn commented 2018-08-24 13:34:22 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
mlncn commented 2022-03-11 19:21:00 +00:00 (Migrated from gitlab.com)

My instinct is probably correct, there's not much reason for unordered lists for menu accessibility in general, mixed results with screenreaders, but i'd be interested in an accessible UX look at menu hierarchies in particular.

My instinct is probably correct, there's not much reason for unordered lists for menu accessibility in general, mixed results with screenreaders, but i'd be interested in an accessible UX look at menu hierarchies in particular.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: agaric/agaric-coop#77
No description provided.