Skip to content

Mandatory field asterisk aria-label (accessibility) #1741

@robeastwood-agency

Description

@robeastwood-agency

Is your feature request related to a problem? Please describe.
Raised by accessibility experts

On the "Action Plan" page of the Intellectual Disability Assessment form, the red "*" used to visually indicate that it is a mandatory field is a focusable element that is announced on VoiceOver as "star". This element is rendered in the background when a question is required=true. This may confuse screen reader users who may not know what "star" means.

Describe the solution you'd like
Recommendation by accessibility experts:

This asterisk needs to be programmatically associated with the text field label that it is referring to and have an aria-label that reads "Mandatory field".

Describe alternatives you've considered
Trialled an aria-label with the text field label however this did not resolve the fact that the red asterisk is still being read aloud as "star" due to the way that the element is rendered.

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityAccessibility-related issueawaiting ADHARequires ADHA review or further information/guidance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions