A spoiler element #9926
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
What problem are you trying to solve?
A standard way to make content inaccessible and opaque to the user without consent, with optional preview text. More details on this proposal are in this article.
What solutions exist today?
details
element, which is not equivalent on semantic, UA behavior, and presentation grounds.How would you solve it?
A new HTML element (and perhaps a corresponding ARIA role?) called
spoiler
. The specification forsummary
could be modified to support being an optional child ofspoiler
.Anything else?
An alternative solution was proposed in #8770, but I disagree that styling alone is enough for reasons outlined in the linked article: user-agents and assistive technologies will need to behave differently when faced with spoiler semantics.
The text was updated successfully, but these errors were encountered: