Skip to content

feat(buttons): add aria-attributes #4068

@tarusin

Description

@tarusin

Need add aria-attributes to HTML code in buttons component.

  • role="button" if tag not a button
  • aria-pressed if the button is toggle
  • aria-disabled if the button can have a disabled state

Took as a basis - https://www.w3.org/TR/wai-aria-practices-1.1/examples/button/button.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions