[ListItemText] Shouldn't be a heading by default
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
The element rendered by ListItemText
should be a span
by default.
Current Behavior
The element rendered by ListItemText
is a h3
by default.
Context
Headings are usually used, among other things, forr organizing a page’s sections for screen readers and other assistive technologies. Having every list item as a heading might be unnecessary clutter, since not every list item might represent a section on the page. Something like using a span
element by default and letting the developer associate a role for the item might be a better idea.
See also: https://www.w3.org/TR/WCAG20-TECHS/G141.html
Your Environment
Tech | Version |
---|---|
Material-UI | f64c730a3 |
React | 16.3.13 |
browser | Chrome 66 |
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:11 (5 by maintainers)
Top Results From Across the Web
[ListItemText] Shouldn't be a heading by default #11319
The element rendered by ListItemText is a h3 by default. Context. Headings are usually used, among other things, forr organizing a page's ...
Read more >ListItemText API - Material UI
The name MuiListItemText can be used when providing default props or style overrides in the theme. Props. Props of the native component are...
Read more >Generating href from list item text - javascript
I would like these list items to have the same id and href as the text. Example list item: Current: <li>Heading One</li>. Desired:...
Read more >Can you spot why this shouldn't work - MSDN - Microsoft
I.E. It doesn't seem to post the page. It works in IE on Godaddy (ver 2.0 asp.net) with this extra bit: SmtpMail.SmtpServer ="relay-hosting.secureserver.net";...
Read more >Markdownlint Rules - kiki
This rule is intended to ensure document headings start at the top level and is triggered when the first heading in the document...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If no one is working on this, can I?
If there are no takers and @tuukkao doesn’t want to do it, would I be able to?