A11Y: Frame title may not be clear
See original GitHub issueDescription
Issue summary
The current value of the PayPal iframe
title
attribute may not clear in its meaning for people with cognitive disabilities. This could lead to a confusing user experience.
Current code
HTML
<iframe
…
title="ppbutton"
…
></iframe>
Steps to reproduce
- Navigate to https://gone-devn.myshopify.com/ with any supported browser
- Add an item(s) to the Cart
- Proceed to the Cart page
- With an active screen reader, navigate to the PayPal control
Behavior
Expected
- Frame
title
text content to be clear.
Actual
- Frame
title
text content may not be clear.
Recommendation
Set an appropriate title
attribute value to help describe the iframe
purpose.
Recommended code
CSS
<iframe
…
title="PayPal Checkout"
…
></iframe>
Specifications
- WCAG Principle: Perceivable
- WCAG SC: 1.3.1 Info and Relationships
- Severity: Medium
- Effort: Low
Affected browsers
All
Issue Analytics
- State:
- Created 4 years ago
- Reactions:19
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Frames must have title attribute | Axe Rules - Deque University
A good title is brief, clear, informative, and unique. Ensure that the document's title contains short, descriptive text summarizing the page's contents. To ......
Read more >frame-title - Accessibility Insights
A <frame> or <iframe> is used to embed one HTML document within another. An accessible name is a word or phrase coded in...
Read more >Accessibility rule: Frames must have a unique title attribute
What this Accessibility Rule Checks. Make sure that the title attribute on every iframe and frame element is distinct and not empty. Learn...
Read more >Proposed Iframe element has non-empty accessible name
This rule applies to iframe elements that are included in the accessibility tree and that can be accessed by sequential focus navigation. Note:...
Read more >12. Page Titles, Frames, and iFrames - Trusted Tester
Review the alerts in ANDI's “Accessibility Alerts” section to determine ... “Page <title> cannot be empty” ... A Page Title is defined for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue still exists. Please address it soon!
This really does need to be fixed for those of us that care about ADA compliance.
I can’t seem to find a reference to
ppbutton
as the iframe title in this repo. If you can point me to the right place, I’d be happy to make a pull request.