Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Accessibility: add aria-required attribute to JFormField #1764

Merged
merged 4 commits into from Mar 16, 2013
Merged

Accessibility: add aria-required attribute to JFormField #1764

merged 4 commits into from Mar 16, 2013

Conversation

SniperSister
Copy link
Contributor

The aria-required attribute should be added to any required fields that are generated via JFormField.

@SniperSister
Copy link
Contributor Author

Okay, I added the attributes to the actual markup output and it seems to be working fine now.

@dongilbert
Copy link
Contributor

👍

@realityking
Copy link
Contributor

Wouldn't it be better to add required="required"? In most browsers (the notable exception being IE8) this is mapped to the corresponding ARIA state. In the CMS we already have a JS based fallback for this.

@dongilbert
Copy link
Contributor

He added both in the required="required" and aria-required="true" in this PR - I think it would be best to add both, since not all browsers support mapping the required attribute to the aria attribute.

@ianmacl
Copy link
Contributor

ianmacl commented Dec 25, 2012

http://developer.joomla.org/pulls/pulls/1764.html

There are issues there that need to be addressed before we look at this.

@ianmacl ianmacl closed this Dec 25, 2012
@SniperSister
Copy link
Contributor Author

I fixed the issues so it should be working now.

@dongilbert
Copy link
Contributor

@SniperSister add a comment with the word "reopen" not in quotes, and it will reopen the pull request automagically. Then I can review the changes and it will update the developer.joomla.org pull tester as well (not right away though). :)

@SniperSister
Copy link
Contributor Author

Thanks for the hint ;)

reopen

eddieajau added a commit that referenced this pull request Mar 16, 2013
Accessibility: add aria-required attribute to JFormField
@eddieajau eddieajau merged commit 34ef4e3 into joomla:staging Mar 16, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants