Skip to content

Add aria-label guidance and defaults for icon-only controls #3

Description

@xBrokkr

Icon-only controls (copy-button, confirm-action triggers, sidebar collapse toggles, pagination arrows, etc.) need accessible names.

Task:

  1. Grep the free set for buttons whose only child is an icon.
  2. Where the component knows its purpose (e.g. copy-button), add a sensible default aria-label if missing.
  3. Where the consumer must supply it, make the prop explicit and document it in the component's prop interface.

Good first issue: self-contained, no design decisions, npm run typecheck guards the prop changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions