Legend is not added in tileGroup
See original GitHub issuea <legend></legend>
tag isn’t added to the TileGroup field set resulting in accessibility scanning failures. Looking at Selectable Tile storybook it passes in a legend
property, but there is no further doc on it and it doesn’t get rendered.
Environment
Operating system
macOS 10.13.3 (17D47)
Browser
Chrome Version 73.0.3683.75 (Official Build) (64-bit)
Automated testing tool and ruleset
IBM Accessibility February 2019
Assistive technology used to verify
DAP Dynamic assessment plugin
Detailed description
What version of the Carbon Design System are you using?
"carbon-components": "9.84.14",
"carbon-components-react": "6.108.0",
"carbon-icons": "7.0.7",
What did you expect to happen?
I expect a <lengend></lengend>
tag to be added to the tileGroup fieldset
What happened instead?
the legend tag was not added
What WCAG 2.1 checkpoint does the issue violate?
IBM 1.3.1 Info and Relationships
Steps to reproduce the issue
- Add a tile group with a RadioTile (or anything inside) and look at the rendered markup. The legend tag isn’t there
Please create a reduced test case in CodeSandbox https://codesandbox.io/s/github/IBM/carbon-components-react/tree/master/examples/codesandbox
https://codesandbox.io/s/62q5rxwon?fontsize=14
Additional information
- Screenshots or code
- Notes
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
@matthewgallo No update! It’s prioritized and in our backlog though. A contribution would be cool if you’ve got the bandwidth 👍
Thanks for submitting! I’ll look into this 👍🏽