python-visualization / python-visualization/branca
Accessibility issue - possible to enable adding HTML attributes to rendered iframe elements?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 134
- Forks
- 69
- Ø Merge
- 1 Std. 10 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne beim gerenderten iframe-Pfad, auf den über folium.Map.get_root() verwiesen wird, und untersuche, wie das HTML-Element erzeugt wird. Reproduziere die axe DevTools-Warnung "Frames must have an accessible name" und überprüfe anschließend, dass das gerenderte iframe ein title-Attribut enthält und diese Warnung nicht mehr auslöst.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- html, python
- Bereich
- accessibility
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100