Skip to content
Bug Barometer

[Accessibility][Task] Toast message has Span elements which contain Invalid role

Salesforce says this works as designed.

Summary

Issue:- When an error message is displayed on the Task Object (specifically, "You no longer have permission to change tasks.") after a user attempts to change a task's status, the HTML element containing this message incorrectly uses the role attribute.


Actual result:-

A user attempts to change the status of a task and triggers an error, displaying the message "You no longer have permission to change tasks." The element containing this error message has role attribute.


Expected result:-

The error message "You no longer have permission to change tasks." Should be programmatically exposed to assistive technologies with a valid and appropriate role, state, and properties that clearly communicate its nature as an error or status message.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Working as Expected with 1 report

    Nov 30, 2026

Also open in Disability and Product Accessibility