- Screen reader text
- 404 page
- Drop down menu
- Search form
- Skip links
The accessibility features are mostly handled by the Framework rather than the child theme. However, like HTML5 markup in version 2.0, the features are opt-in via theme support.
Screen Reader Text
Screen reader text is extra text that is read out as audio to users with vision impairments. It is required if you declare any level of theme support for
genesis-accessibility. Genesis will assume there is a block of CSS code in your child theme stylesheet to handle it:
If you don’t have this, you will see unexpected text output across your website.
Note that from version 4.2, the WordPress core also expects theme stylesheets to include a
You can add theme support for screen reader text only:
Skip links allow users who use either keyboard navigation or a screen reader to skip through the content of your website. They are implemented by the Framework, but only if the consent is given by the child theme.
Search Form and Drop Down Menu
drop-down-menu respectively will replace the classic search form and drop down menu outputted by Genesis with a more accessible version.
headings will change the heading structure that Genesis uses to a more semantic version. If your theme stylesheet references tag names such as
h2, your styling may be impacted by the change.
By supporting rems, you consent to the Framework and any relevant plugins to enqueue stylesheets that express measurements in rems.
404 Page Sitemap
404-page will enable a sitemap on your 404 pages. This sitemap has traditionally been included for XHTML themes, but is turned off for HTML5 themes that do not support this accessibility feature. It is also identical to the sitemap that is part of the Genesis Archive Page template.
Genesis 2.2.3 Update
The accessibility theme support system was tweaked in two ways as part of the Genesis 2.2.3 update.
The first change is that supporting accessibility without specifying any arguments turns on support for screen reader text only. Previously, it would mean you support all accessibility features.
The second change is the requirement of the
404-page argument to receive the sitemap on the 404 page. Previously, it was required with any level of accessibility support, in the same way as screen reader text.
The theme support
genesis-accessibility has been included since version 2.2.0.
The theme support
genesis-accessibility is located in lib/functions/general.php.
- How to Check if the Child Theme is Accessible with Genesis
- How to Use HTML5 Markup with Genesis
- How to Check if the Child Theme is HTML5 or XHTML with Genesis
Relevant tutorials from the Genesis community.