python-visualization / python-visualization/branca

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

オープン
#213 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
134
フォーク
69
平均マージ
1時間 10分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

folium.Map.get_root() を通じて参照される、レンダリングされた iframe のパスから始めて、HTML 要素がどのように生成されるかを調べます。axe DevTools の警告 "Frames must have an accessible name" を再現し、その後、レンダリングされた iframe に title 属性が含まれ、その警告が発生しなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
html, python
領域
accessibility
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。