Closed Bug 1856460 Opened 1 year ago Closed 3 months ago

implement <details name=""> attribute (exclusive accordion)

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: dbaron, Assigned: smaug, NeedInfo)

References

Details

(Keywords: dev-doc-complete, parity-chrome, parity-safari)

Attachments

(3 files)

This is a bug to implement the name attribute on the <details> element.

An explainer is available at:
https://open-ui.org/components/accordion.explainer/

Mozilla expressed a positive standards position in:
https://github.com/mozilla/standards-positions/issues/831

The HTML spec PR is available at:
https://github.com/whatwg/html/pull/9400

Tests are at:
https://wpt.fyi/results/html/semantics/interactive-elements/the-details-element/name-attribute.tentative.html

Keywords: dev-doc-needed

This was added to Safari in 17.2.

This is live in all major browsers except Firefox.

Is there any progress on this issue? Firefox is the last browser to not support the name attribute.

Flags: needinfo?(dbaron)
Flags: needinfo?(htsai)
Flags: needinfo?(dbaron)

(In reply to Marcel Beggiato from comment #8)

Is there any progress on this issue? Firefox is the last browser to not support the name attribute.

Thanks for sharing your interests. We will review the priority. This bug is the right place to monitor our progress; we will post any progress as it comes in.

Flags: needinfo?(htsai)
Assignee: nobody → smaug
Attachment #9411397 - Attachment description: WIP: Bug 1856460, rename nsContentUtils::HasMutationListeners, r=emilio → Bug 1856460, rename nsContentUtils::HasMutationListeners, r=emilio
Attachment #9411398 - Attachment description: WIP: Bug 1856460, Add Document::FireMutationEvents, r=emilio → Bug 1856460, Add Document::FireMutationEvents, r=emilio
Attachment #9411399 - Attachment description: WIP: Bug 1856460, add support for HTMLDetailsElement.name, r=emilio → Bug 1856460, add support for HTMLDetailsElement.name, r=emilio

a11y has been discussed in https://github.com/whatwg/html/pull/9989 and in the linked html-aam issues.

Forgot we're in soft freeze. Need to remember to land next week.

Flags: needinfo?(smaug)
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3fa433e46321 rename nsContentUtils::HasMutationListeners, r=emilio https://hg.mozilla.org/integration/autoland/rev/c9e9cccfd0a2 Add Document::FireMutationEvents, r=emilio https://hg.mozilla.org/integration/autoland/rev/30758f338cf5 add support for HTMLDetailsElement.name, r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47038 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR merged by moz-wptsync-bot
Regressions: 1906854
Blocks: 1909613
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: