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

UKHPI - 4.1.2: Name, Role, Value #416

Closed
bogdanadrianmarc opened this issue Aug 6, 2024 · 6 comments
Closed

UKHPI - 4.1.2: Name, Role, Value #416

bogdanadrianmarc opened this issue Aug 6, 2024 · 6 comments
Assignees

Comments

@bogdanadrianmarc
Copy link
Contributor

bogdanadrianmarc commented Aug 6, 2024

See https://docs.google.com/spreadsheets/d/1YS3N5ps9pJGFOxBDi9C2DwA37WQPIVax/edit?gid=1215429860#gid=1215429860&range=29:29

@bogdanadrianmarc
Copy link
Contributor Author

I suspect this was more of an issue for other HMLR apps. I double checked all the forms and each input is contained within a <label> tag, which means a screen reader will read the label when the input is focused. However, I corrected the aria-label for the select location input as it contained a typo

@tomguilbert
Copy link

To clarify this one - there is a failure in UKHPI but it is only visible if you compare locations and then remove one of the countries. After doing this you get an 'add location' button. From Gemma:

it’s not visible unless you get rid of a location and then the add location button appears on the HPI page. I think it was this that was referring to.
It’s flagged up because the form control does not have a properly associated text label .

<li class=“c-compare__add-location”>
Add another location:
<input name=“location-term” type=“text”>
<button name=“form-action” type=“submit” value=“search”>
search
</button>

Image

@tomguilbert
Copy link

@DanielCouzens I think you were working on this last week? That's why I've assigned you but please correct if I'm mistaken.

@DanielCouzens
Copy link
Contributor

This is in review #432

@DanielCouzens
Copy link
Contributor

This has been merged into main. @tomguilbert

So the error should no longer show when checking fields via silktide.

@tomguilbert
Copy link

yep looks good thanks @DanielCouzens

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

No branches or pull requests

3 participants