yext / answers-search-ui

Answers Javascript API Library for building Search experiences.
Other
22 stars 7 forks source link

fix: correct implementation of accesssible text for vertical result counts #1830

Closed cea2aj closed 1 year ago

cea2aj commented 1 year ago

The current implementation of verticalresultcount.hbs unnecessarily uses an aria-label and aria-hidden property to handle text that is already accessible for a non-interactive element.

J=TECHOPS-9030

coveralls commented 1 year ago

Coverage Status

coverage: 61.393%. remained the same when pulling ef7bdd46734862931a5f66f3c8ebb8c80e2299cc on dev/fix-accessible-text into a977ebb4cc7fcce367fd7890ee9757821484f8ed on hotfix/v1.16.1.