python-visualization / python-visualization/branca
Accessibility issue - possible to enable adding HTML attributes to rendered iframe elements?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 134
- Forks
- 69
- Avg merge
- 1h 10m
- Merged PRs (30d)
- 1
Description
A WCAG 2.1 AA audit of visualizations generated with folium/branca shows that the resulting iframe is missing a title attribute. Is it possible to enable adding a title attribute to the iframe–perhaps via folium.Map.get_root()? Thank you!
Steps to reproduce:
- Download the axe DevTools Chrome extension
- Visit a page with an embedded folium map
- Open the Chrome Developer Tools panel
- Click through to the axe DevTools tab
- Run the free Full Page Scan
- See the "Frames must have an accessible name" warning - https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the rendered iframe path referenced through folium.Map.get_root() and inspect how the HTML element is generated. Reproduce the axe DevTools "Frames must have an accessible name" warning, then verify that the rendered iframe includes a title attribute and no longer triggers that warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, python
- Domain
- accessibility
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100