Visitar URL original
USWDS - Bug: Update identifier component markup for improved accessibility · Issue #4952 · uswds/uswds · GitHub
Skip to content

USWDS - Bug: Update identifier component markup for improved accessibility #4952

Closed

Description

@nick-mon1

Describe the bug

Identifier component has a child div with aria-label without an aria-role. We should replace the div with a section element to improve accessibility.

This issue was identified in the wheelhouse accessibility report.

ARIA Labels don’t always work well on certain elements like DIVs where there is no role

Suggest adding aria-role=”complementary” to this div

Steps to reproduce the bug

  1. Go to digital.gov

Expected Behavior

Should be a section element instead of div

Related code

See this PR https://github.com/GSA/digitalgov.gov/pull/5368/files

Screenshots

Screen Shot 2022-09-16 at 3 59 07 PM

System setup

  • USWDS 3.0.1

Additional context

No response

Code of Conduct

Activity

  1. changed the title [-]USWDS - Bug: [YOUR TITLE][/-] [+]USWDS - Bug: Update identifier component markup for improved accessibility[/+] on Sep 16, 2022
  2. self-assigned this
    on Sep 19, 2022
  3. added this to the uswds 3.2.0 milestone on Sep 26, 2022
  4. moved this from On deck to In progress in USWDS Core Project Dataon Oct 7, 2022
  5. moved this from In progress to Review in USWDS Core Project Dataon Oct 11, 2022
  6. Repository owner moved this from Review to Done in USWDS Core Project Dataon Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs: ConfirmationReported behavior needs validation. Remove after recording reproduction or investigation results.

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions