Skip to content

Consider a11y enhancements for date components #1071

Open
@bkjohnson

Description

@bkjohnson

Description

For <va-date monthYearOnly /> and <va-memorable-date> we had some related items under the "Consider" portion of the a11y feedback.

Tickets

Items to consider

  • Consider adding context to the error message to let users know which exact fields are producing an error
  • (<va-memorable-date>) The attribute aria-describedby="dateHint" is included on all elements, but is not read by the screen reader for each group that includes the label + input field. I would recommend either of the following:
    • Removing the aria-describedby attributes, and instead, including text for screen readers within the , specific to each input field;
    • Including the aria-describedby attributes on each input element with helpful text specific to each input field
  • Think about the UX when there are multiple error messages appearing on the page
  • Consider adding responsive styles

@davidakennedy @TiffanyPender please let me know if I've missed anything.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions