Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe aria-label attribute Support #2291

Open
WilcoFiers opened this issue Feb 7, 2025 · 0 comments
Open

iframe aria-label attribute Support #2291

WilcoFiers opened this issue Feb 7, 2025 · 0 comments
Labels
accessibility support Accessibility support testing and tracking

Comments

@WilcoFiers
Copy link
Member

Accessibility support

  • There is a known combination of a popular browser and assistive technology that ignores aria-label and only announces title attribute as an accessible name.

ACT Rules

Test cases

Test case 1

Testing aria-label and title attribute support across different elements

<iframe aria-label="Hello world" srcdoc="<h1>frame content</h1>"></iframe>

<iframe aria-label="Hello world" title="goodbye mard" srcdoc="<h1>frame content</h1>"></iframe>

<iframe aria-label=" " title="goodbye mard" srcdoc="<h1>frame content</h1>"></iframe>

Test instructions

  1. Load the test case in different browsers
  2. Test with different screen reader combinations
  3. For each element, check:
    • Which attribute is announced (aria-label vs title)
    • If attribute precedence is respected
    • How empty attributes are handled
  4. Expected results:
    • ARIA-label should take precedence when supported
    • Title attribute should be consistently announced
    • Empty attributes should be ignored consistently

External links

Test results

Please report test results in a comment below. Please use the following format:

## Test case 1

- Date: ...
- Operating system: ..., version ...
- Browser: ..., version ...
- Screen reader: ..., version ...
- Test result: Passed / Failed (if failed, how was it different from expected?)
@WilcoFiers WilcoFiers added the accessibility support Accessibility support testing and tracking label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility support Accessibility support testing and tracking
Projects
None yet
Development

No branches or pull requests

1 participant