Altinn / Altinn/altinn-studio-docs
fix search engine optimization and find in page experience for information in accordians
@bdb-dd is already working on this.
Since Jun 4, 2024.
- Dominant language
- CSS
- Stars
- 15
- Forks
- 59
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 53
Description
Description
Several of our articles use accordian components to hide certain content by default. The standard way of implementing this has been to set the css property display: none. An unfortunate side effect of this, however, is that the hidden content is unavailable when using the in-page search function in the browser.
This article describes how to use an alternative approach that fixes this issue.
In particular, our Common deps page would be improved by implementing this change. Some work may be needed to deal with the caveats listed.
This new css feature is not yet supported by all browsers, but a backwards compatible implementation is possible.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.