diff --git a/README.md b/README.md index 15571190d..611a001aa 100755 --- a/README.md +++ b/README.md @@ -31,6 +31,9 @@ In late 2013, the proposal submitted by UCF's Center for Distributed Learning wo | headersHaveText | If a header tag does not contain text. | | videoProvidesCaptions | If a video tag does not have a caption track tag. | | videosEmbeddedOrLinkedNeedCaptions | If a YouTube or Vimeo video does not have human-generated captions. | +| brokenLink | If a link is broken | +| headingLevelSkipped | If a heading level has been skipped | +| documentReadingDirection | If text that is in Hebrew, Arabic, or Dhivehi/Maldivian does not have the dir attribute set to rtl | ### Suggestions @@ -52,6 +55,9 @@ In late 2013, the proposal submitted by UCF's Center for Distributed Learning wo | cssTextStyleEmphasize | If colored text is not emphasized as bold or italicized. | | videoEmbedChecked | If an iframe, link, or object tag linking to a Dailymotion video exists on the page. | | videoCaptionsAreCorrectLanguage | If a YouTube or Vimeo video has human-generated captions, but they do not match the set language of the course. | +| tableHasFixedWidth | If a table or its cells have fixed width | +| videoUnlistedOrNotFound | If a video is unlisted or can not be found | +| redirectedLink | If a link is redirected | ## Awards diff --git a/lib/quail/quail/common/accessibility_tests.php b/lib/quail/quail/common/accessibility_tests.php index 2d763663e..06ad0a048 100755 --- a/lib/quail/quail/common/accessibility_tests.php +++ b/lib/quail/quail/common/accessibility_tests.php @@ -1920,7 +1920,6 @@ function check() /** * The reading direction of all text is correctly marked. -* The reading direction of all text is correctly marked. */ @@ -1936,7 +1935,7 @@ class documentReadingDirection extends quailTest /** * @var int $default_severity The default severity code for this test. */ - var $default_severity = QUAIL_TEST_MODERATE; + var $default_severity = QUAIL_TEST_SEVERE; /** * @var bool $cms This test does not apply to content management systems (is document-related) @@ -1946,7 +1945,7 @@ class documentReadingDirection extends quailTest /** * @var array $right_to_left The language codes that are considered right-to-left */ - var $right_to_left = array('he', 'ar'); + var $right_to_left = array('he', 'ar', 'dv'); /** * The main check function. This is called by the parent class to actually check content diff --git a/lib/quail/quail/guidelines/translations/en.txt b/lib/quail/quail/guidelines/translations/en.txt index b9f3ac26f..624dd395f 100755 --- a/lib/quail/quail/guidelines/translations/en.txt +++ b/lib/quail/quail/guidelines/translations/en.txt @@ -236,7 +236,7 @@ "tabIndexFollowsLogicalOrder","The tab order of a document is logical","

Check that the tab-order of a page is logical.

","2" "formHasGoodErrorMessage","Form error messages should assist in solving errors","

If the form has some required fields or other ways in which the user can commit an error, check that the reply is accessible. Use the words ""required"" or ""error"" within the label element of input items where the errors happened, and check that the beginning of the form highlights each form error. This is not something that can be checked through automated testing and requires manual checks.

","3" "formErrorMessageHelpsUser","Forms offer the user a way to check the results of their form before performing an irrevokable action","

If the form allows users to perform some irrevokable action, like ordreing a product, ensure that users have the ability to review the contents of the form they submitted first. This is not something that can be checked through automated testing and requires manual confirmation.

","3" -"documentReadingDirection","Changes in text decoration should be marked up","

Changes in text direction in inline content should be indicated using any HTML element (for example, span) with a ""dir"" attribute indicating left-to-right or right-to-left. For example, a Hebrew phrase within an english paragraph should have it's own text direction indicated.

","2" +"documentReadingDirection","Changes in text direction should be marked up","

Changes in text direction in inline content should be indicated using any HTML element (for example, span) with a ""dir"" attribute indicating left-to-right or right-to-left. For example, a Hebrew phrase within an english paragraph should have it's own text direction indicated.

","2" "formDeleteIsReversable","Deleting items using a form should be reversable","

Check that, if a form has the option to delete an item, that the user has a chance to either reverse the delete process, or is asked for confirmation before the item is deleted. This is not something that can be checked through automated testing and requires manual confirmation.

","3" "svgContainsTitle", "Inline SVG should use Title elements","

Any inline SVG image should have an embedded title element","1" "cssTextHasContrast","Insufficient text color contrast with the background","

Text color should be easily viewable and should not be the only indicator of meaning or function. Color balance should have at least a 4.5:1 ratio for small text and 3:1 ratio for large text. Warning: using UFIXIT to fix one section of text may invalidate the contrast in nested sections of text that are not the same color.

","1"