Allow type attribute on <ul>
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 3.2k
- PR merge metrics
- PR metrics pending
Description
<ol> represents an “ordered list”., whereas <ul> represents an unordered list. But frequently, one wants an unordered list with labels (1, 2, 3, or A, B, C). The options here are to either use a <ol> anyway (which falsely marks the list as ordered), or to use <ul> with CSS (which means the referencing system is CSS-dependent).
It would be great if HTML would allow the type attribute on <ul> to solve this problem.
Note: Firefox already implements the requisite functionality, and Chrome already handles it for <li> inside <ul> (just not for <ul> itself). Testcase
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the HTML Standard's list-element rules and the linked live DOM viewer testcase. Review the 28-comment discussion and existing browser behavior to determine the intended standard change; done means the specification has a settled, interoperable definition for type on ul.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100