E-mail List Archives
Re: Expected behavior for listbox selection
From: Isabel Holdsworth
Date: Dec 10, 2018 2:48AM
- Next message: Mohith BP: "Re: Expected behavior for listbox selection"
- Previous message: Isabel Holdsworth: "Re: Hiding the presence of an iframe"
- Next message in Thread: Mohith BP: "Re: Expected behavior for listbox selection"
- Previous message in Thread: glen walker: "Re: Expected behavior for listbox selection"
- View all messages in this Thread
Enter has traditionally been used to submit forms, so I'd personally
steer away from it as a selection key.
If the listbox is marked up properly, there's no need to add hidden
screenreader instructions. When the focus lands on an element,
screenreaders typically speak the element's name ("Pizza toppings"),
its type ("listbox"), its current value if one is selected ("Cheese"),
and instructions for interacting with the element ("Press Space to
select an item").
Cheers, Isabel
On 07/12/2018, glen walker < <EMAIL REMOVED> > wrote:
> I'm with Sean. I would expect space to select the item, like space selects
> a checkbox, radio button, and button (although of course a button allows
> enter too), but then I'm a keyboard user and have been for years (decades).
>
> With multiselect listboxes, if the up/down arrow keys change the selection
> (which I understand you're not doing), then you have to use ctrl+up/down to
> move the focus within the listbox without changing the selection, then
> ctrl+space to add a selection to the list. I think some browsers don't
> honor the ctrl+up/down to move the focus within the listbox.
> > > > >
- Next message: Mohith BP: "Re: Expected behavior for listbox selection"
- Previous message: Isabel Holdsworth: "Re: Hiding the presence of an iframe"
- Next message in Thread: Mohith BP: "Re: Expected behavior for listbox selection"
- Previous message in Thread: glen walker: "Re: Expected behavior for listbox selection"
- View all messages in this Thread