This behavior has been resolved and deployed to the production environment as of 12/04/24.
Description
When a user is using a screen reader, they cannot tell if the View as Student button is a button, or a link. This makes it difficult for the user when they navigate by button, or navigate by link. This is happening because the anchor tag has role="complementary".
Expected Behavior
Remove the complimentary role, and let it read as a link
Or, update the role to be a button (preferable)
Workaround
No workaround exists at this time.
Steps to Reproduce
Create a course
Inspect the View as Student button
Note that role="complementary"
Additional Info
LX-2122
Known issues indicate notable behaviors that have been escalated to the Canvas engineering team. Known issues are not a guarantee for an immediate resolution. This document is for informational purposes only and does not replace the Support process. If you are encountering the behavior outlined in this document, please ensure you have submitted a Support case (per your institution's escalation process) so Canvas Support can adequately gauge the overall customer impact and prioritize appropriately.