Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html5fallback.js: remove aria-invalid on label if field is invalid. fix #6573 #6631

Closed
wants to merge 8 commits into from

Conversation

vinespie
Copy link
Contributor

@vinespie vinespie commented Apr 1, 2015

Removing "aria-invalid" attribute on label when input is not valid.
https://www.w3.org/WAI/GL/wiki/Using_Aria-Invalid_to_Indicate_An_Error_Field
fix #6573


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.

@zero-24
Copy link
Contributor

zero-24 commented Apr 1, 2015

@vinespie
Copy link
Contributor Author

vinespie commented Apr 1, 2015

No, I searched the compression tool used to joomla but I have not found. Can you give me a link / her name?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6631.

@Fedik
Copy link
Member

Fedik commented Apr 1, 2015

@vinespie
Copy link
Contributor Author

vinespie commented Apr 2, 2015

@zero-24 I added the correction in the compressed file
thank you for the help @Fedik

@crommie
Copy link

crommie commented Oct 10, 2015

Could you please add step by step testing instructions?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6631.

@hans2103
Copy link
Contributor

Need testinstructions


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6631.

@zero-24
Copy link
Contributor

zero-24 commented Oct 10, 2015

@crommie @hans2103

how to test

first test
  • Use a Browser (like old IE)
  • go to a mod_login screen
  • see the sourecode of the Username field
  • see the aria-invalid="false"
  • apply the patch
  • see it is gone
seccond test
  • go to a mod_login screen
  • copy the sourecode into http://validator.w3.org/
  • see issue about the aria-invalid="false"
  • apply the patch
  • see it is gone

@matrikular
Copy link
Contributor

I have tested this item 🔴 unsuccessfully on a104968

Either this has already been fixed or I'm missing something.

The html5fallback.js is present in the documents head on: index.php?option=com_users&view=login but there is no aria-attribute on the label. Tested with IE 8.0.7601


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6631.

@yvesh
Copy link
Member

yvesh commented Oct 24, 2015

@zero-24 we are a bit irritated about your test instructions here at PBF Munich, the patch is for the label and not the field!? (INPUT) But we couldn't reproduce it either with the windows machines here.

@zero-24
Copy link
Contributor

zero-24 commented Oct 24, 2015

Thanks @yvesh and @matrikular closing here.

@zero-24 zero-24 closed this Oct 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

html5fallback.js generates errors
8 participants