E-mail List Archives
List of buttons triggers MENU role
From: Isabel Holdsworth
Date: Oct 24, 2018 4:12AM
- Next message: Steve Green: "Re: List of buttons triggers MENU role"
- Previous message: Brandon Keith Biggs: "Fwd: [Nfbc-info] Job opportunity working on a11y at Google"
- Next message in Thread: Steve Green: "Re: List of buttons triggers MENU role"
- Previous message in Thread: None
- View all messages in this Thread
Hi all,
I'm creating a drag-and-drop scenario, in which items across the top
of the screen can be dragged to one of two or three areas underneath.
I wanted to mark up the draggable items as buttons so screenreader
users know they need to be pressed for something to happen. But when I
encapsulate the buttons in a <ul> or <div role="group"> either JAWS or
the browser (not sure which) seems to assign a MENU role to the whole
group, which is something I don't want.
I can mark up the items as links, in which case the component works
beautifully. But that would be semantically incorrect and I'd like to
avoid this if possible.
Does anyone know how to disable this annoying automatic role assignment?
Thanks as always, Isabel
- Next message: Steve Green: "Re: List of buttons triggers MENU role"
- Previous message: Brandon Keith Biggs: "Fwd: [Nfbc-info] Job opportunity working on a11y at Google"
- Next message in Thread: Steve Green: "Re: List of buttons triggers MENU role"
- Previous message in Thread: None
- View all messages in this Thread