Skip to content

Improve a11y by using button instead of links #1752

Open
@mrleblanc101

Description

@mrleblanc101

Description

Links should only be used when the URL change.
<a role="button"> is not the same as <button type="button">.

Expected Behavior

If you are creating a button, use a <button>.

Actual Behavior

The library generate links with no href and role="button"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions