Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Search: page title must be updated when the web address changes #319

@erinchambers

Description

@erinchambers

Currently, after a user submits search text or uses a filter/facet, the <title> of the newly-loaded page is just "Search | {site title}", and the page title (h1) is just "Search Results."

Ideally, this would change to reflect what has been submitted by the user. I think we could at least do this with text input. If the user searches for the text "prairie," for example, when the page reloads, Orchid should make the <title> "Search Results" or (even better) "Search Results: 'prairie'" and the h1 "Search Results: prairie." For faceted/filtered results, it might be more complicated to change the <title>, but we could have the h1 be something like "Search Results: Filtered by Year and Author" or something similar. Not sure.

There's not one right answer on how to do this, but per WCAG 2.1 Level AA guidelines, the page <title> MUST be updated when the web address changes.

Metadata

Metadata

Labels

Priority 2: SeriousRequires a fix before deadline.a11yAccessibility changes REQUIRED to meet ADA Title II requirements (WCAG 2.1 Level AA).discusshelp wanted

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions