Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Accessibility section to Readme#2149

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

joe-watkins
Copy link
Contributor

Adding Accessibility section to the readme that speaks to usingerrorElement in thevalidate() method.

Thank you!

@joe-watkinsjoe-watkins changed the titleJoe watkins readme a11yAdd Accessibility section to ReadmeMar 6, 2018
@@ -73,6 +73,27 @@ $("#myForm").validate({
});
```

## Accessibility
For an invalid field, the default output for the jQuery Validation Plugin is an error message in a `<label>` element. This results in two `<label>` elements pointing to a single input field using the `for` attribute. While this is valid HTML, it has inconsistent support across screen readers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

maybe we should mention a example on how this "bad html" looks like

@KatieMFritz
Copy link

This is great!

@staabmstaabm merged commitb0e3b11 intojquery-validation:masterAug 18, 2020
@staabm
Copy link
Member

Sorry for having this not merged earlier.

We can improve it further but lets have it in the readme for now.

Thx for the contribution and sorry for the overlong wait periode

KatieMFritz reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@staabmstaabmstaabm left review comments

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@joe-watkins@KatieMFritz@staabm@Arkni

[8]ページ先頭

©2009-2025 Movatter.jp