Skip to content

Keyboard & accessibility navigation issues #96

@arpadgabor

Description

@arpadgabor

Just checked out your questionnaire demo, there are some (rather serious) navigation issues.

  1. Pressing tab does not focus the buttons (don't use <a> tags, use <button type="button">)
  2. Multi-select is also not accessible.
  3. Up/down arrow are also only accessible with a mouse, keyboard arrows should also send you to the next/prev section.
  4. 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.

image
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions