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

Fix aria-labelledby-prop on MultiSelect

    XMLWordPrintable

Details

    • stripes-force 95, stripes-force 96, stripes-force 97
    • Stripes Force
    • Very Small (VS) < 1day

    Description

      Parts of the MultiSelect is still using a prefixed ID for the aria-labelledby attribute – even though a custom aria-labelledby ID is provided.

      This causes aXe to complain about missing referenced elements.

      Expectation: When providing a custom aria-labelledby ID, the component should use this instead of a prefixed version based on the ID-prop.

      Actual Result: The hidden value input uses a prefixed aria-labelledby ID. The aria-labelledby ID is also applied twice on the control element.

      TestRail: Results

        Attachments

          1. image-2020-08-17-16-52-22-809.png
            99 kB
            Rasmus Wølk
          2. image-2020-08-17-16-52-36-131.png
            111 kB
            Rasmus Wølk
          3. image-2020-08-17-16-56-19-386.png
            36 kB
            Rasmus Wølk

          Activity

            People

              rasmuswoelk Rasmus Wølk
              rasmuswoelk Rasmus Wølk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases