Open mejiaj opened 2 years ago
Some more info: https://developer.chrome.com/articles/hidden-until-found/
Seems like it's now hidden="until-found"
and is in action on this USDA.gov page (do an in-page search for "1200" [works in Chrome]).
Thanks for sharing that guidance. It seems there are two possible techniques:
The 2nd technique seems better supported, would be less tedious to users, and could be a progressive enhancement to the existing component.
@mejiaj what does this Issue need to be closed?
I would really love to see this implemented. Mainly, I'm looking forward to this change in the linked PR.
We would like to link to an id inside an accordion, so that we can direct developers to a specific part of our documentation. hidden="until-found"
would allow that, which is currently not possible.
Need to explore ways to add this feature in a way that minimizes impacts to accordions. For example, resolving spacing issues in live site.
develop
.
The
hidden=until-found
attribute for accordion body allow content to be findable with in-page search.Issue created from USWDS Slack thread.