-
Notifications
You must be signed in to change notification settings - Fork 179
Description
Just checked out your questionnaire demo, there are some (rather serious) navigation issues.
- Pressing tab does not focus the buttons (don't use
<a>tags, use<button type="button">) - Multi-select is also not accessible.
- Up/down arrow are also only accessible with a mouse, keyboard arrows should also send you to the next/prev section.
- Sometimes tab takes me to the next section instead of navigating the current section.
e.g.
<a href="#" role="button" aria-label="Press to continue" class="animate fade-in-up f-enter">
<div class="o-btn-action"><span>OK</span></div><span class="f-enter-desc">Press ENTER</span>
</a>
should be
<div class="flex">
<button type="button" class="o-btn-action">
OK
</button>
<span>
Press <span class="f-enter-desc uppercase">Enter</span>
</span>
</div>
Also for accessibility, please style the :focus state of everything that is focusable, so a keyboard user will know where he is situated on the screen.

As you can see, chrome also detects buttons as generic and non-keyboard focusable.
Also a small note: screen readers will read ENTER as E N T E R, while Enter with uppercase css styling will be read like normal.
Metadata
Metadata
Assignees
Labels
No labels