Skip to content

Selected state on Grid cards is invisible to assistive tech #263

Description

@Pixnop

Found while reviewing #260. The selected border on Grid cards is now visually strong, but GridItem renders a motion.li with no aria-selected or aria-pressed and no text alternative, so a screen reader announces nothing about which card is selected. ConfigPage's BackgroundTile already does this right with aria-pressed on the tile button, so the pattern exists in the repo to copy.

Scope: GridItem (and a check over the other selectable grids and lists for the same silence). WCAG 1.3.1 and 4.1.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions