Skip to content

Wave/WCAG errors when setting descriptions on components shown in Grid  #1629

Open
@olemartinorg

Description

@olemartinorg

Description of the bug

When showing for example an Input field in a Grid component (or any other table, presumably), the component renders with a broken aria-describedby reference, as the description is not rendered in the table. We should probably either render the description invisibly when in a table, or figure out a solution that keeps accessibility promises.

Steps To Reproduce

  1. Open the ra0483-01 app as in the example linked below
  2. Navigate to the second page that contains a Grid
  3. Answer yes to the question so the Grid appears
  4. Run Wave

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/accessibilityrelated to WCAG and accessibilityfe-v3Issues related to frontend version 3kind/bugSomething isn't workingorg/ssbIssues relevant for Statistisk sentralbyrå.

    Type

    No type

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions