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

IconButton incorrectly passes aria-label through to its span element

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 9.2.0
    • Labels:
      None
    • Template:
    • Development Team:
      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, John Coburn

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases