?
avatar cr2a-graphique
cr2a-graphique
24 Mar 2015

Hi, with my fellow worker @vinespie we found a mistake are generate by html5fallback.js

example :
For the mod_login, when you go out of a field like username "html5fallback.js" generate a aria-invalid="false" in the label.

aria-invalid is not used for label.

avatar cr2a-graphique cr2a-graphique - open - 24 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 24 Mar 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 26 Mar 2015
Category JavaScript
avatar zero-24
zero-24 - comment - 1 Apr 2015

Closing as we have a PR: #6631 Thanks

avatar zero-24 zero-24 - change - 1 Apr 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-04-01 16:08:57
avatar zero-24 zero-24 - close - 1 Apr 2015
avatar vinespie
vinespie - comment - 25 May 2015

According to accessibility standards attribute "aria-invalid" should be only placed on the attribute "input" not on the label coresponding.
https://www.w3.org/WAI/GL/wiki/Using_Aria-Invalid_to_Indicate_An_Error_Field

Actual result

  1. Go to "index.php?option=com_users&view=login&Itemid=233" or login page
  2. Do not enter a login information and click the button
  3. You must see the input login incorrect, the label "Username" with attribute "aria-invalid" set to true.

2015-05-25 10_39_39-login

Test instructions

  1. Apply the patch
  2. Go to "index.php?option=com_users&view=login&Itemid=233" or login page
  3. Do not enter a login information and click the button
  4. You must see the input login incorrect, the label "Username" with no attribute "aria-invalid"

2015-05-25 10_41_18-login

Add a Comment

Login with GitHub to post a comment