Project

General

Profile

Actions

Support #13978

closed

WAVE tool throwing language missing or invalid

Added by scott voth about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Deployment actions:

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?


Files

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

Updated by Boone Gorges about 3 years 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.)

Actions #2

Updated by Raymond Hoh about 3 years ago

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

Actions #3

Updated by Raymond Hoh about 3 years 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.

Actions #4

Updated by Boone Gorges about 3 years ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF