Skip to content

Accessiblity issue Title attribute for Iframe #43

@kneel2023

Description

@kneel2023

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions