You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to update the template formatting in our utils repo for block quotes. For accessibility reasons, we want all <table> tags to include role="presentation". When block quotes are added, a table is created in the template. We need to ensure the proper role is added when this happens.
Ticket is understood, and QA has been contacted (if the ticket has a QA label).
User Story(ies)
As a Veteran I want to be able to access my email via a screen reader So that I can get the provided information accessibly and accurately.
This task can be accomplished by editing the NotifyEmailMarkdownRenderer or creating a post-processing function to be called as part of get_html_email_body function using regex.
Editing the renderer would involve adding more custom features to Mistune, which could make the upgrade more difficult.
A post-processing function would involve finding the table elements when block quotes exist and adding the requested role. This can be accomplished with regex trickery.
User Story - Business Need
We want to update the template formatting in our utils repo for block quotes. For accessibility reasons, we want all <table> tags to include role="presentation". When block quotes are added, a table is created in the template. We need to ensure the proper role is added when this happens.
User Story(ies)
As a Veteran
I want to be able to access my email via a screen reader
So that I can get the provided information accessibly and accurately.
Additional Info and Resources
NotifyEmailMarkdownRenderer
or creating a post-processing function to be called as part ofget_html_email_body
function using regex.table
elements when block quotes exist and adding the requested role. This can be accomplished with regex trickery.Acceptance Criteria
role="presentation"
QA Considerations
role="presentation"
in all block quote table tag properties.Potential Dependencies
Out of Scope
The text was updated successfully, but these errors were encountered: