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

Fix page title missing or invalid on some pages #1272

Open
HRemonen opened this issue May 10, 2024 · 0 comments
Open

Fix page title missing or invalid on some pages #1272

HRemonen opened this issue May 10, 2024 · 0 comments
Labels
accessibility frontend Pure react bliss good first issue Good for newcomers

Comments

@HRemonen
Copy link
Contributor

HRemonen commented May 10, 2024

The <title> of the page is critical, because it is the first thing a screen reader user hears. Blind users cannot glance quickly at the content of a web page to see what the page is about, so they rely on the page title to give them this information.

If a page is the result of a user action or scripted change of context, the text of the <title> SHOULD describe the result or change of context to the user. Meaning that for example if the page has tabs that change the content dynamically the title should display the most important thing first and then the page name or the website name separated with "|".

See also

https://dequeuniversity.com/resources/video-tutorial-page-title

https://dequeuniversity.com/checklists/web/page-title


Things to consider

React 19 brings the native HTML title element to be used from components.

When React 19 is launched we can get rid of the react-helmet library and migrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility frontend Pure react bliss good first issue Good for newcomers
Projects
Status: Priority
Development

No branches or pull requests

1 participant