BrianRuizy / covid19-dashboard

🦠 Django + Plotly Coronavirus dashboard. Powerful data driven Python web-app, with an awesome UI. Contributions welcomed! Featured on 🕶Awesome-list
https://covid-dashboard.herokuapp.com
MIT License
213 stars 178 forks source link

Website adaptation for people with disabilities: Ensure links or controls that open new windows or frames do not open without a warning #103

Open DarWik opened 3 years ago

DarWik commented 3 years ago

Tool: https://www.webaccessibility.com/results/?url=http%3A%2F%2Fncov-dashboard.herokuapp.com%2F

Developers should avoid creating links or other controls opening new windows without either indicating that fact to users or allowing them to control the focus change. Exceptions are made if the new window comes in the form of a dialog, one that is either predictable by its context (such as a "Print this page" link that triggers the browser's Print dialog), or is implemented in an accessible manner (such as a "Delete" image link that triggers a simple JavaScript alert with an "Are you sure you want to delete this?" prompt).

Violations Identified (3)
<a target="_blank" href="https://github.com/BrianRuizy/covid19-dashboard" class="nav-link text-muted fade-in-left"><i aria-hidden="true" style="font-size:1.1rem;" class="fab fa-github "></i>Code</a>
<a target="_blank" class="font-weight-bold ml-1 text-muted" href="https://github.com/BrianRuizy/covid19-dashboard">covid19-dashboard</a>
<a target="_blank" class="font-weight-bold ml-1 text-muted" href="https://brianruizy.com">@brianruizy</a>