Text Block Component
The basic Text Block component includes a title field, required text field, options to include an image at three different sizes, and an optional link list. Image options are full-width, half-width placed on the right or left of the body text, and one-third width placed on the right or left of the text. The full-width images appear between the title and text.
Images in the Text Block Heading link
The text block component only allows for one image in each block. This allows for a page design that can elegantly present text and images across a wide variety of screen sizes and device orientations.
To create more long-form content with multiple images, you can stack text blocks and use these tips to present the content in one continual visual experience.
- Use the “Disable bottom margin” option to display an additional text block as though it is part of the original block.
- In the next text block, use the “Hide title from view” to remove the title and give the appearnce of continuity between the blocks.
For Accessibility: remember that hidden titles are still recognized by screen readers. A hidden title should still have meaningful context to those users.
Accessibility Requirements Heading link
Title Fields
Titles are required in most components to comply with the rule that headings H1-H6 must be used before a section of content to describe its context. You may select the “Hide Title” option if you don’t want it displayed, however, a site visitor using a screen reader will hear those titles. This means they should be descriptive and unique. If you only enter “Title” for example, the user will hear “title, title, title,” etc. as they tab through your content blocks. They will have no context to know if that is information they should read.
Image Alt Text Fields
Alt text should describe the image for visually impaired users who visit your website and for those whose browsers block images. The text should give a brief description of the image. DO NOT USE phrases like “image of,” “picture of,” or “screenshot of” in your ALT Text. In addition, if you use images that have text in the image itself, that cannot be read by a screen reader. That text should be included in the alt text, a caption or other text near the image.
Link Text
Text links in your content should not use a URL as the link text. It should have meaningful text rather than using “click here” or “read more” Instead, use the page title or a description of the page where the link leads.
Link text that is in context with the content where it is pointing gives all users better information about the purpose of the link.
Users interact with links in various ways, including:
- Screen reader users can generate a list of links and navigate them alphabetically.
- Redundant or ambiguous link text such as “More” is meaningless in this context.
- Users of speech recognition technology can select a link with a voice command like “click” followed by the link text. Therefore it is also helpful to use unique link text that is short and easy to say.
- Users who don’t need assistive technology often skim and scan your content, a link that gives more context can prompt them to click through to the content they seek.
- Meaningful link text may often align with key terms or phrases used by people searching for your site. Using them for link text may improve your SEO.