Why care about accessibility?
Even if you’re not required to make your website accessible, it’s a good idea to follow at least high-level accessibility principles. Why?-
Your site will be more readable
For example, the site has appropriately sized print. -
Your site will be more searchable
For example, there are text alternatives for content graphics. -
Your site will reach a larger audience
Your site becomes more accessible for the estimated 20% of people with disabilities, but it also becomes easier to use in general, because the basic principles of accessibility hold true for everyone. -
Your site’s SEO will benefit
For example, Google’s Mobile-Friendly Test, which judges your site on criteria that contribute to Google Search rankings, will fail for some of the same reasons, such as the text being too small and horizontal scrolling required because the viewport wasn’t set. - If you’re an agency, it’s a benefit to say you test for basic accessibility, even when you can’t guarantee that the site is fully accessible, for all of the reasons above.
WCAG 2.0 accessibility standard
The current standard for web content accessibility is the Web Content Accessibility Guidelines, or WCAG 2.0, maintained by the World Wide Web Consortium (W3C). The WCAG 2.0 specification is based on four principles:-
Perceivable
Users must be able to perceive the information with at least one of their senses. -
Operable
The interface cannot require interaction that a user cannot perform. -
Understandable
Users must be able to understand the information as well as the operation of the user interface. -
Robust
Content must be interpreted reliably by a wide variety of user agents, including assistive technologies.
The WAI-ARIA standard
The WAI-ARIA standard is a set of specifications on how to use “aria labels” to provide semantic information about widgets, structures, and behaviors to assistive devices. Beaver Builder adds default ARIA labels and some modules have an aria setting that lets you assign your own ARIA label. Here’s an example of HTML output from a Menu module, which has the custom ARIA label set to “primary menu”:Make your sites accessible
Full accessibility is rarely achieved, and meeting accessibility criteria is an ongoing effort, requiring new testing with each website revision and each authoring tool release. For this reason, meeting accessibility requirements at any level makes creating and maintaining a website significantly more costly. On the other hand, checking a site for basic conformance, and learning how to meet basic accessibility conformance when you construct a site, are best practices, for all the reasons laid out above. Most of the basic accessibility guidelines are met by standard practices you follow when you design the page, such as the following:- Ensure there is good contrast between text and background
-
Make link text contextual. Rather than this language:
To view our brochure click here.
use this:
View our brochure. - Make sure you have descriptions for non-text media that contain content (i.e., are not just decorative). This means filling in the Alt field for images in your media library that convey content, or making sure your image is described in the text preceding or following the image, or linking to an external text file that describes the image.
-
Ensure you have at least one
<h1>tag, and use heading tags in order:<h1>,<h2>,<h3>and so on, so the structure of your page is obvious to search bots and screen readers. -
Check the HTML rendering of icons and form fields. For anything interactive without an
altattribute, or text inside, or a label, such as an icon’s<I>tag, you can add hidden text specifically targeted for screen readers. Beaver Builder has met accessibility requirements for form fields and icons, but check the HTML output of any plugins you use. - Changing the stacking order of items to accommodate different device sizes (using any technical method) doesn’t change the DOM order, so screen readers will continue to see the original stacking order, which can be confusing. If you’re designing for accessibility it’s a best practice to design the page such that changing stacking order is unnecessary.
ATAG 2.0 accessibility standard
The W3C also has a specification for Authoring Tool Accessibility Guidelines, ATAG 2.0, which are guidelines for two aspects of web authoring tools:- Making the tool accessible when using it for authoring
- Helping authors create accessible sites
Beaver Builder accessibility
Beaver Builder plugin (includes Beaver Themer)
Beaver Builder modules are accessible at a basic level on both the authoring side (keyboard navigation, color contrast) and on the HTML rendering side (attributes useful to screen readers). Beaver Builder has made the following fixes for specific modules that previously failed to meet accessibility standards:-
Menu module
You can tab through submenu items, in addition to main menu items. The Menu module also has a Menu label setting so you can assign a custom ARIA label to the output. -
Slideshow module
Images usealttags. Arrows pass the accessibility check. -
Map module
Added the ability to enter a title for accessibility in the Map module settings, which results in atitleattribute being rendered in theiFrametag.
Beaver Builder Theme
Beaver Builder Theme has the following accessibility improvements:- Navigation search has keyboard tabbing support and an ARIA label
- Search widgets have ARIA labels (created through the Beaver Builder Theme’s searchform.php)
- The Comments form fields have ARIA labels
- The Scroll-to top icon (when enabled) has nonvisible “Scroll to Top” text for screenreaders
- Submenus allow keyboard tabbing
- At the top of each web page there is a nonvisible “Skip to content” label with a link to the content area for use by screenreaders
- Thumbnail images, comment counts, and social icons have ARIA labels
Changes to HTML output
Here are some examples of how the modules implement ARIA design practices to improve accessibility for assistive devices such as screen readers.- Content Slider, Posts Carousel, Posts Slider modules: There are additional ARIA
labelandroleattributes to clarify the Previous and Next arrow controls - Contact Form and Subscribe form modules: The input tag for each field has an added
idattribute that connects the input to the label for that field. This meets the requirement that form fields have the proper labels associated with them - Icon and Icon Group modules: The link has added ARIA attributes that relate the link to the icon and any accompanying text