Uploaded image for project: 'stripes-components'
  1. stripes-components
  2. STCOM-834

IconButton incorrectly passes aria-label through to its span element

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 9.2.0
    • None
    • None

    Description

      Summary: IconButton incorrectly passes its aria-label prop through to a <span> element it creates, an a11y violation.

      Details: IconButton accepts both aria-label and ariaLabel props. The former is passed straight through to a <span> while the latter is siphoned off, correctly, via props destructuring.

      Both props should be siphoned off.

      Attn: Denys Bohdan, JohnC

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases