-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove Duplicate Level One Heading #376
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkva I agree with your assertions here, but I think restructuring the headings completely is a larger task. E.g. I'd personally have the test plan name, AT/browser info and number of completed tests earlier on the page, maybe before the test navigator or in that section? Not sure. But either way it would also require some design changes.
For now, does this also address the formatting of the remaining h1
, whereby the text is missing whitespace after the colon for screen reader users?
…le within page h1.
@jscholes I've added a non breaking space between the "Testing task:" span and the rest of the h1 content. There's otherwise not really anything to do there apart from setting the As for the heading restructuring, the PR in its current state already manages that. It just results in two headings (h1 and h2) being quite similar in text content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this, caveat emptor my comments in #379 (review).
@jkva I noticed that adding the non-breaking-space creates an alignment issue in the UI, which pushes the "Testing task" name slightly to the right. Would it be possible and semantically correct to have the non-breaking-space right after the colon but within the |
@isaacdurazo good point, thank you. Addressed. |
Thanks for addressing, @jkva |
This PR addresses the following item from PAC's "ARIA-AT App Screen Reader Accessibility Observations" document:
Question: since the
h1
andh2
on this page are now quite similar:h1
"Testing task: 1. Open a Modal Dialog"h2
(previouslyh1
) "Testing task: Open a Modal Dialog"Could the
h2
not be done without? That way this PR can be simplified by just removing the duplicateh1
altogether and thus keeping the rest of the heading structure intact. This would then also ensure no changes need to be made to #375.The main instructional and data entry content for the task is still in a separate section, and it looks like the content that would require a heading either way. But generally this looks like the overall page structure could be improved here.
Effective changes: