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

AB#71899 Change <h3> element to <span> #295

Merged

Conversation

RobOatesHistoricEngland
Copy link

@RobOatesHistoricEngland RobOatesHistoricEngland commented Aug 21, 2024

AB#71899

Description of Change

The screen reader goes from a <h1> to a <h3> which could be confusing as there is no intervening <h2>. Semantically this is not such a problem, but there is no need for the results count element to be a heading at all.

Changed the <h3> element to a <span> as the styling was set by the search-title class, not the element type.

Copy link

@phudson-he phudson-he left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@RobOatesHistoricEngland RobOatesHistoricEngland merged commit 5ad2bb9 into keystone/release-1.2.0 Aug 23, 2024
1 check failed
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