MantisBT - AChecker
View Issue Details
0004764ACheckerCheckspublic2011-05-24 08:582018-03-08 13:28
greg 
cindy 
normalminoralways
closedfixed 
 
1.3 
c8a308e39aea118b204626f0ceb84bd6fe9838dd
0004764: isValidLangCode with regional extention
isValidLangCode in include/classes/BasicChecks.class.php should be able to identify language codes that have regional extensions such as fr-ca. Currently only 2 and 3 letter codes are valid.

The WCAG technique indicates that extensions are valid, though older versions of JAWS will fail when an extension is present.

Add another check perhaps, or modify the existing function to recognise extensions.
No tags attached.
Issue History
2011-05-24 08:58gregNew Issue
2011-11-18 11:32gregNote Added: 0005512
2011-11-22 10:00cindyAssigned To => cindy
2011-11-22 10:00cindyStatusnew => assigned
2011-11-22 12:58cindySVN Revision# => c8a308e39aea118b204626f0ceb84bd6fe9838dd
2011-11-22 12:58cindyNote Added: 0005520
2011-11-22 12:58cindyStatusassigned => resolved
2011-11-22 12:58cindyResolutionopen => fixed
2011-11-25 14:47gregFixed in Version => 1.3
2018-03-08 13:28cindyStatusresolved => closed

Notes
(0005512)
greg   
2011-11-18 11:32   
match on either 2 or 3 digit valid language code, followed by any number of numbers, letters, or dashed only
(0005520)
cindy   
2011-11-22 12:58   
The fix has been merged into master project repo @

https://github.com/atutor/AChecker/commit/c8a308e39aea118b204626f0ceb84bd6fe9838dd [^]

Affected script: include/classes/BasicChecks.class.php