Skip to content

buttons should be readable by screen readers #203

@techieshark

Description

@techieshark

@reekypete pointed out that button controls could have labels which are more self contained (so screen reader users wouldn't have to have surrounding context to make use of the buttons).

A couple thoughts:

  • now that we're using more semantically correct <button>s rather than <a>s, we'll need something other than title attribute to make this work.
  • I came across documentation about what to do in this case while doing research; I'll have to dig that up. We might use <span class="sr-only"> (screen reader only) to add that context into the button text, or use ARIA labelling.
  • this issue may relate to all buttons we use, but we should at least start with the primary / secondary school buttons at the top.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions