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

Accessibility: add a lang attribute to html #2348

Open
CharlesNepote opened this issue May 16, 2024 · 0 comments
Open

Accessibility: add a lang attribute to html #2348

CharlesNepote opened this issue May 16, 2024 · 0 comments

Comments

@CharlesNepote
Copy link

CharlesNepote commented May 16, 2024

When analyzing datasette accessibility, one of the main (and easy to fix?) issue is the lack of lang attribute into thehtml tag: see https://qualweb.di.fc.ul.pt/evaluator/https%253A%252F%252Fglobal-power-plants.datasettes.com%252Fglobal-power-plants%252Fglobal-power-plants

The norm: https://www.w3.org/WAI/standards-guidelines/act/rules/b5c3f8/

Do we only have to fix: https://github.com/simonw/datasette/blob/main/datasette/templates/base.html ?

Is it ok to hard code this since datasette is only in English for the moment: <html lang="en">?

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

1 participant