wellcomecollection.org
wellcomecollection.org copied to clipboard
"Switch" type Tabs without Javascript blocks access to certain content
This is an existing behaviour so unrelated to the work on https://github.com/wellcomecollection/wellcomecollection.org/issues/10239 but we should discuss
Switch type tabs don't work without Javascript, but it means users can't access their content. Navigate type tabs solutionise that by displaying everything. Do we want something similar? At which level should it be done? (Could but done at the index level maybe and they both use the same rendering?). Let's discuss in the next catchup.
As we watched a few Practical A11y chapters, we discussed using <details>/<summary>
for this (and subgrid?) so something to investigate when on a quest for a fix.
Is this something that is currently an issue on the site?
I haven't looked recently but not aware we'd done anything to address it, so probably? There are two more (similar?) tabs-related issue in the backlog if the heart takes you 😄 https://github.com/orgs/wellcomecollection/projects/18/views/1?filterQuery=tabs
https://wellcomecollection.org/concepts/fmydsuw2 sans Javascript, for example