cds-snc / cds-snc/platform-forms-client
Accessibility - Italics use an emphasis tag
Open
a11y
app
- Dominant language
- TypeScript
- Stars
- 46
- Forks
- 16
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 85
Description
## Description
The only way I found to italicise some texts is the button “I” in the text editors.
But it just tags the text with an `` without any semantic differentiation, and which means emphasis. I could not find a way to italicise a law or a title with `` for example.
## Expected behaviour
Would it be possible to not use an emphasis semantic to italicise (as this is not the same than emphasis), and to provide a way to `` or `` texts.
Otherwise this could result to a WCAG failure of SC 1.3.1.
## Additional context
Reported in [Freshdesk ticket 18070](https://cds-snc.freshdesk.com/a/tickets/18070).
Contributor guide
Assessment
This issue has not been assessed yet.