Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information: Expend / Collapse #37

Open
shawnthompson opened this issue Aug 19, 2021 · 3 comments
Open

More information: Expend / Collapse #37

shawnthompson opened this issue Aug 19, 2021 · 3 comments

Comments

@shawnthompson
Copy link

First off, I think this project is great and I'd love to put it on a11y.canada.ca!

As a signed user who uses a screen reader to help retain information I read, I've come to realize expend and collapse / detail summary doesn't work in reader view and you have to click to read the contents of it.

Do we really want to hide the content? I know it's a table, should it be a table (maybe another issue should be opened for this question)?

I spoke to others who use immersive readers and detail / summary are problematic.

Maybe adding a Toggle button at the top of the table to allow users the choice to see everything might be a good option.

@andrewnordlund
Copy link
Collaborator

What I'd like to do is:

  1. Put all information in a JSon file;
  2. Write some Javascript to present the information in a different way; perhaps Cards instead of a table?

That's kinda what I did with the Nordburg Firefox extensions: (https://www.nordburg.ca/ext/home.php vs https://www.nordburg.ca/ext/home.php?wet=false) Same information: two presentation models.

Ohhhh, the Toggle thingie could work too.

@MaximPerry
Copy link
Collaborator

I like the idea. I've also recently learned how to read.json files with JS / JQuery, so it's on my to-do list. However, that .json file will still have to be manually updated (hardcoded) because you'd need something like PHP to write to files. GitHub Pages can't do that.

However, we could host this on a private domain, but this is now Government of Canada proprety. We would need to be granted permission to do so.

@shawnthompson
Copy link
Author

Check this out:

It's a node project that converts an excel spreadsheet to a JSON file and then WET to filter.

https://a11y.canada.ca/wcag-issues/en/

https://github.com/gc-da11yn/wcag-issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants