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

Use correct semantics for header #799

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

JacobArrow
Copy link
Contributor

Link to issue

https://reload.atlassian.net/browse/DDFLSBP-177

Description

A div is not semantically correct to use inside a h-tag. Instead we should use a span and tell the screen reader to percieve it as a text.

A div is not semantically correct to use inside a h-tag. Instead we should use a span and tell the screen reader to percieve it as a text.
Copy link
Contributor

@spaceo spaceo left a comment

Choose a reason for hiding this comment

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

Our static accessibility check is complaining...

src/apps/loan-list/list/ListHeader.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@spaceo spaceo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@spaceo spaceo removed their assignment Jan 2, 2024
@JacobArrow JacobArrow merged commit 618c7bc into release/2024-1-0 Jan 2, 2024
15 of 16 checks passed
@JacobArrow JacobArrow deleted the DDFLSBP-177-header-semantics branch January 2, 2024 13:51
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.

5 participants