AngularJS web client has invalid lang attributes

Bug #1802593 reported by Jane Sandberg on 2018-11-09
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Undecided
Unassigned

Bug Description

Steps to re-create:

1) Go to https://demo.evergreencatalog.com/eg/staff/
2) View the source.
3) Note that the lang attribute of the <html> tag is en_us. This is invalid, since underscores aren't allowed in language codes. It should be en-us, with a hyphen instead.

The OPAC appears to be correct, and the ang6 client also seems to have valid language codes.

I checked this in 3.2 and 3.1.

Jane Sandberg (sandbej) wrote :

Adding the accessibility tag because of this explanation of this explanation of its accessibility ramifications: https://dequeuniversity.com/rules/axe/3.1/html-lang-valid

tags: added: accessibility
Sam Link (slink-g) wrote :

Confirmed.

Changed in evergreen:
status: New → Confirmed
Sam Link (slink-g) wrote :

Possible fix pushed to user/slink/LP1802593_angular_js_web_client_invalid_lang_attributes.

Thanks!
Sam

tags: added: pullrequest
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers