Skip to content

role attribute not being used on version 3 #605

@jnavb

Description

@jnavb

Describe the bug
role attribute not being used on version 3

Reproducible test case

    <FontAwesomeIcon
      icon={...}
      role="button"
    />

svg is rendered with role="img"

Expected behavior
svg should be rendered with role="button"

Desktop (please complete the following information):

  • Browser All
  • Version 3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions