mdn / mdn/browser-compat-data

html.elements.option.label - Firefox notes no longer relevant

Open
#12,592 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:firefox data:html p4
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What information was incorrect, unhelpful, or incomplete?
  1. It's unclear if the below note is relevant anymore. I would guess it's probably not.
    image

  2. This note could be cut down to only the stuff relevant to todays web developers. Also potentially the styling support should be moved into it's own sub-feature? As it's only loosely relevant to the label attribute. Though from my testing only Firefox supports this so potentially can just be left as an odd note.
    image

  3. Potentially the label attributes support should be marked as partial until version 77. (This note is also present for Firefox Android)
    image

Did you test this? If so, how?

I did test the label styling by putting the below code snippet into the MDN interactive example. Tested Desktop Chrome, Firefox and Safari. I haven't tested mobile browsers.

<style>
  option {
   	background-color: rebeccapurple; 
   	color: red; 
  }
</style>
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with html/elements/option.json at the label feature and its Firefox notes, then review the linked MDN option page and the reported browser behavior. Confirm whether the notes and partial-support entries remain accurate, including Firefox Android, and update the compatibility data so the guidance reflects current web developers' needs.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.