-
Notifications
You must be signed in to change notification settings - Fork 5
Description
There is an accessibility issue related to the <iframe> element used by AnnounceKit. The iframe is missing a title attribute, which is required for screen readers and assistive technologies to convey the purpose of the iframe to users.
Impact:
Without a title attribute, the iframe content is not accessible to users relying on screen readers, which violates WCAG 2.1 accessibility guidelines and can impact users with disabilities.
Expected Behavior:
The iframe should include a descriptive title attribute that explains its purpose, such as:
<iframe title="Announcement feed from AnnounceKit"></iframe>
Steps to Reproduce:
Integrate AnnounceKit on a webpage.
Inspect the generated <iframe> element.
Observe that there is no title attribute present.
Suggested Fix:
Add a meaningful and descriptive title attribute to the iframe when it is generated.
