Project

General

Profile

Support #13978

WAVE tool throwing language missing or invalid

Added by scott voth 9 months ago. Updated 8 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Accessibility
Target version:
Start date:
2021-02-10
Due date:
% Done:

0%

Estimated time:

Description

It seems that the html tag attribute lang is set to "en-CAC" on Commons sites and the WAVE tool does not recognize it as a language. <html lang="en-CAC">

What does CAC stand for? CUNY Academic Commons?

lang.png (200 KB) lang.png scott voth, 2021-02-10 03:43 PM

History

#1 Updated by Boone Gorges 9 months ago

  • Status changed from New to Assigned
  • Assignee changed from Boone Gorges to Raymond Hoh
  • Target version set to 1.18.5

Ray, could you have a look? We use en_CAC internally to load some custom strings, but it would be nice to filter it at the time that we create the lang attribute. (We could probably just go ahead and hardcode it in the header template.)

#2 Updated by Raymond Hoh 9 months ago

Hardcoding the lang to en seems like the easiest win here without doing the filtering. Going to proceed with this.

#3 Updated by Raymond Hoh 9 months ago

  • Status changed from Assigned to Staged for Production Release

Added in https://github.com/cuny-academic-commons/cac/commit/b42e324a0824934f392493e83c7272d79d93d0d4.

This will be part of the next maintenance release on the 23th.

#4 Updated by Boone Gorges 8 months ago

  • Status changed from Staged for Production Release to Resolved

Also available in: Atom PDF