Content Editors
Updating boston.gov Drupal website with accessibility in mind. When adding content by editing/adding html elements, what they need to keep in mind for screen readers and people with disability.
<div id="saveChanges" tabindex="0" role="button" aria-pressed="false">Save</div>
Don't add mailto link as:
<a mailto="[email protected]" class="someclasshere"> Send an email </a>
Do add mailto: link as:
<a href="mailto:[email protected]" class="someclasshere"> Send an email </a>
Don't add the classes "button cta-button" in a "div" like this
<div class="button cta-button">
<a href="/departments/innovation-and-technology">Test internal link in CTA</a>
</div>
Do add the classes "button cta-button" on the link itself like this
<div class="someclassnamehere">
<a href="/departments/innovation-and-technology" class="button cta-button">Test internal link in CTA</a>
</div>
Last updated
Was this helpful?