This adds `aria-hidden="true"` to the empty a elements, which helps people who use screen readers.
Closes #5627.