Skip to content

Accessibility issue - possible to enable adding HTML attributes to rendered iframe elements? #213

Description

@raebot

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:

  1. Download the axe DevTools Chrome extension
  2. Visit a page with an embedded folium map
  3. Open the Chrome Developer Tools panel
  4. Click through to the axe DevTools tab
  5. Run the free Full Page Scan
  6. See the "Frames must have an accessible name" warning - https://dequeuniversity.com/rules/axe/3.1/frame-title?application=axeAPI

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