Several accessibility policy pre-built Custom Checks have been added to the Custom Checks library. For example, there is a check that looks for non-descriptive link text. (WCAG 2.0, Level A, 2.4.4 Link Purpose)
Many times, links will get created where the link text is the URL for the link. A screen reader user would hear “h-t-t-p-colon-slash-slash-webaim-dot-org-slash-projects-slash-screenreadersurvey9” instead of “Check the WebAIM Screen Reader Survey 9.” Having descriptive link text is especially helpful when a screen reader is configured to scan web pages for links only. This custom check looks for “http” and / or “www” as part of the link text on a web page.
Another accessibility custom check compares the ALT text of an image to the image filename to ensure they are not the same.
To use one of the pre-built accessibility Custom Checks in DubBot, go to the menu in the upper right corner of your dashboard and click “Settings.” From the Settings page, click “Custom Checks” at the bottom left. On the Custom Checks page, click “Create new custom check.”
Choose the custom check you want to set up from the Custom Checks library page.
On the new custom check page, enter the check name and any notes you would like to add. Under the “Category” section, choose “Accessibility.”
Under the “Rules” section, copy and paste the rule from the custom check you chose from the Custom Check library into the “Rule” field. Choose the corresponding item from the “Search By” drop down box. Select “Flag pages that do not match this rule” and / or “Ignore Case” as you see fit. If you need to add an additional rule, click the “Add Rule” button and follow the same process.
Next, click the “Sites” button.
By default, Custom Checks will be run on ALL sites. You can select the website(s) that you do not want to run the Custom Check by simply checking the box next to each website you want to exclude and clicking the “Trash Can” on the right side of the screen.
You can also choose websites to exclude by clicking “Select Sites.”
From the pop-up window, click the green arrow next to each site you wish to exclude from running the Custom Check.
Once you have chosen the website(s) you wish to exclude, click the “Save” button.
To view the location of a Custom Check match on a page, click the puzzle piece icon in the left side menu. DubBot displays the Custom Check, the location in the page as well as the Element Location and Source code.