Skip to content

Add support for 'name' attribute of 'details' block. #62251

@sfadschm

Description

@sfadschm

What problem does this address?

The details block is currently lacking support for its name attribute.

Spec.:
https://html.spec.whatwg.org/multipage/interactive-elements.html

The attribute is supported in all recent browsers (except Firefox, god knows why...):
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

While the "accordion-like" functionality supplied by the attribute might be misleading, the details block should still aim to support all HTML attributes defined in the spec, see also #21584 (comment)_.

What is your proposed solution?

Add the "name" attribute to the block settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] DetailsAffects the Details Block - used to display content which can be shown/hidden[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions