Skip to content

Buttons: allow links that look like buttons to be triggered #3690

Description

@jAigret-Bix

USAGov accessibility test results

Visual Appearance of Control Does Not Match Function:
The Back button is coded as a link but is styled to look like a button. Visually sighted users see a button, but for screen reader users it is announced as a link.
Add the ARIA role="button" so that screen readers announce it as a button. Additional JavaScript will also need to be added so that keyboard users can activate the button using both the Enter and Spacebar keys.

Button

Todo

  • Allow links that look like buttons to be triggered by spacebar
  • Update guidance on Buttons if needed.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions