Closed CharlesNepote closed 2 weeks ago
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
lang
html
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">?
<html lang="en">
Yeah, I think adding lang="en" is fine for the moment. When Datasette gets UI translations into other languages we can revisit.
lang="en"
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-plantsThe 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">
?