Skip to content

Accessible structure#131

Open
ArcaneDots wants to merge 13 commits intoosmlab:gh-pagesfrom
ArcaneDots:accessible_structure
Open

Accessible structure#131
ArcaneDots wants to merge 13 commits intoosmlab:gh-pagesfrom
ArcaneDots:accessible_structure

Conversation

@ArcaneDots
Copy link
Copy Markdown
Contributor

Added basic landmarks to page. Includes named divs and translations. Also converted single to double quotes so exists IDs would be recognized by the browser. Added fail-back text that will be used as aria-label in case translation fails to load.

@iandees
Copy link
Copy Markdown
Member

iandees commented Feb 19, 2024

Can you tell me more about the single vs. double quote change? They are equivalent in HTML, so I'm wondering what issue you are seeing. If we're going to change quoting style, we should change them all and probably in a separate PR so that it doesn't distract from other changes.

@ArcaneDots
Copy link
Copy Markdown
Contributor Author

single vs. double quote change? They are equivalent in HTML

I would have assumed that as well. The Aria subsystem is likely more rigorous than normal HTML. This would explain why most accessible tools ignore tags that don't use double quotes, leading to failed requirements.

I would be more than happy to submit a separate PR to convert everything to a double quote

@iandees
Copy link
Copy Markdown
Member

iandees commented Apr 22, 2024

Can we change this PR to only be the accessibility changes (not quote changes) and see if the desired accessibility features work with just that change?

@ArcaneDots
Copy link
Copy Markdown
Contributor Author

ArcaneDots commented Apr 23, 2024 via email

@ArcaneDots
Copy link
Copy Markdown
Contributor Author

Waiting for merge or further comments

@iandees
Copy link
Copy Markdown
Member

iandees commented Jul 7, 2024

Can you share what accessibility checkers you were using that care about quotes?

@ArcaneDots
Copy link
Copy Markdown
Contributor Author

I used Wave, Axe, and Silktide. The quotes were a bit of a red herring. I also found that many more things need to be changed to be accessible. For now, the site has a simple structure so keyboard users can do basic navigation. It can also use the translated strings for labels and placeholders.

I reverted all the single to double quotes.

@iandees
Copy link
Copy Markdown
Member

iandees commented Jul 8, 2024

Sorry, this PR is quite hard to review because there's other stuff in the change. Are all the changes in here related to accessibility? Looks like there's some localization updates too?

@ArcaneDots
Copy link
Copy Markdown
Contributor Author

ArcaneDots commented Jul 8, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants