[Spike] Investigate updating the accordion to use the hidden="until-found"
attribute
#2697
Closed
3 tasks
What
Investigate whether we can update the accordion to use the
hidden="until-found"
attribute, as originally raised by @injms in alphagov/govuk-design-system-backlog#1 (comment):Why
Using
hidden="until-found"
makes it possible to search the hidden content within the accordion using the browser's in-page search feature (in browsers that support it).At the time of writing, only very recent versions of Chromium-based browsers support the attribute.
According to Chrome Platform Status, Firefox consider it worth prototyping but there are no signals from Safari.
Chrome and Edge account for approximately 47% of visits to GOV.UK.
Assumptions
We should firm this section up before starting the spike.
Timebox
TBC
Who is working on this?
Spike lead: TBC
Spike buddy: TBC
Questions to answer
We should firm this up before starting the spike, but things we might want to look at include:
hidden="until-found"
attributeDone when
The text was updated successfully, but these errors were encountered: