Message body omitted from description list #3427
Labels
Accessibility
Issues discovered through accessibility testing
Community backlog
An issue raised on the community backlog
Describe the accessibility issue
A recent SDC Respondent Account Service DAC report raised an accessibility issue against our secure message page which renders the following component
https://service-manual.ons.gov.uk/design-system/patterns/send-and-reply-to-messages#example.example-message-list.html
The issue has been raised under
Detailing our specific usage as
Their recommendation is to move the text element of the message with the class
ons-message-item__body
from its own<div>
into the<dl>
along with the other<dt><dd>
pairings. They suggest optionally hiding the text element's corresponding<dt>
if it does not require a visual 'label'.Expected behaviour / outcome
Screen readers to better associate the message body along with the preceding related description list terms.
List the steps necessary to reproduce the bug
n/a
Additional context
n/a
What version of the ONS Design System are you using?
In the process of upgrading from 70.0.1 to 72
What device(s) are you using?
Desktop
What operating system(s) are you using?
macOS
What browser(s) are you using?
Chrome
The text was updated successfully, but these errors were encountered: