Skip to content

Commit

Permalink
Merge pull request #600 from WilcoFiers/dqu-update
Browse files Browse the repository at this point in the history
Update links to Deque University
  • Loading branch information
jessebeach authored Jun 23, 2019
2 parents 9c25b96 + fc4eb4e commit 416ca1b
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions docs/rules/alt-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Enforce that all elements that require alternative text have meaningful information to relay back to the end user. This is a critical component of accessibility for screenreader users in order for them to understand the content's purpose on the page. By default, this rule checks for alternative text on the following elements: `<img>`, `<area>`, `<input type="image">`, and `<object>`.

#### Resources
1. [aXe object-alt](https://dequeuniversity.com/rules/axe/2.1/object-alt)
2. [aXe image-alt](https://dequeuniversity.com/rules/axe/2.1/image-alt)
3. [aXe input-image-alt](https://dequeuniversity.com/rules/axe/2.1/input-image-alt)
4. [aXe area-alt](https://dequeuniversity.com/rules/axe/2.1/area-alt)
1. [axe-core, object-alt](https://dequeuniversity.com/rules/axe/3.2/object-alt)
2. [axe-core, image-alt](https://dequeuniversity.com/rules/axe/3.2/image-alt)
3. [axe-core, input-image-alt](https://dequeuniversity.com/rules/axe/3.2/input-image-alt)
4. [axe-core, area-alt](https://dequeuniversity.com/rules/axe/3.2/area-alt)

## How to resolve
### `<img>`
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/anchor-has-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Enforce that anchors have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the `aria-hidden` prop. Refer to the references to learn about why this is important.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/link-name)
1. [axe-core, link-name](https://dequeuniversity.com/rules/axe/3.2/link-name)

## Rule details

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/heading-has-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Enforce that heading elements (`h1`, `h2`, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the `aria-hidden` prop. Refer to the references to learn about why this is important.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/empty-heading)
1. [axe-core, empty-heading](https://dequeuniversity.com/rules/axe/3.2/empty-heading)

## Rule details

Expand Down
3 changes: 2 additions & 1 deletion docs/rules/html-has-lang.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<html> elements must have the lang prop.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/html-lang)
1. [axe-core, html-has-lang](https://dequeuniversity.com/rules/axe/3.2/html-has-lang)
1. [axe-core, html-lang-valid](https://dequeuniversity.com/rules/axe/3.2/html-lang-valid)

## Rule details

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/iframe-has-title.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`<iframe>` elements must have a unique title property to indicate its content to the user.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/frame-title)
1. [axe-core, frame-title](https://dequeuniversity.com/rules/axe/3.2/frame-title)

## Rule details

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/lang.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The `lang` prop on the `<html>` element must have a valid value based on ISO country and language codes.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/valid-lang)
1. [axe-core, valid-lang](https://dequeuniversity.com/rules/axe/3.2/valid-lang)
2. [ISO Language Codes](http://www.w3schools.com/tags/ref_language_codes.asp)
3. [ISO Country Codes](http://www.w3schools.com/tags/ref_country_codes.asp)

Expand Down
4 changes: 2 additions & 2 deletions docs/rules/no-distracting-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Enforces that no distracting elements are used. Elements that can be visually distracting can cause accessibility issues with visually impaired users. Such elements are most likely deprecated, and should be avoided. By default, the following elements are visually distracting: `<marquee>` and `<blink>`.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/marquee)
2. [Deque University](https://dequeuniversity.com/rules/axe/1.1/blink)
1. [axe-core, marquee](https://dequeuniversity.com/rules/axe/3.2/marquee)
2. [axe-core, blink](https://dequeuniversity.com/rules/axe/3.2/blink)

## Rule details

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The `scope` scope should be used only on `<th>` elements.

#### References
1. [Deque University](https://dequeuniversity.com/rules/axe/1.1/scope)
1. [axe-core, scope](https://dequeuniversity.com/rules/axe/1.1/scope)

## Rule details

Expand Down

0 comments on commit 416ca1b

Please sign in to comment.