Clarify what events are expected from <option> elements in <select> dropdowns
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 3.2k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 38
Description
The specs for the option element and the select element do not (at least to my reading) make it clear what events are expected from option elements when the select is in dropdown mode (for example, when the is not being used for multiple selections, or when the size of the is 1).
I'm particularly interested in mouse and keyboard events.
The major browsers seem to behave differently. I've highlighted those differences here.
It'd be good if we could hammer out the actual desired behaviour here so that there's less ambiguity in how (if ever) to dispatch events for option elements when in dropdown selects.
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 by reading the linked specifications for the option and select elements, then review the browser differences documented in the linked Bugzilla discussion. The work is complete when the expected mouse and keyboard event behavior for option elements in dropdown selects is agreed and the specification is no longer ambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100