Comments (7)
@gregoriopellegrino Very good point. I will add this to my TODO list.
from charts.css.
I saw this this morning and thought I might as well have a stab at the most obvious change for display:none
issues. I've added a mixin for visually-hidden as described on a11yproject and then used that mixin wherever the project had display: none
.
Pull request: #23
from charts.css.
Update: seems like I already addressed accessibility concerns back in Dec 2020, in this 9436f15 commit.
You could not see it the repo as it was part on version 1.0 that is not released yet.
In any case, in PR #39 I merged all commits which will be introduced in Charts.css version 1.0.
from charts.css.
You might be able to use the table header for axis names and legend. That way the table header cells are visible elements that will be triggered by the screen reader. For many charts the first th will be the main variable, the following th:s will be either categories which could be used as a legend or a single variable that could be used for the secondary axis.
I guess the calculations for this will be a bit tricky to work with since the preference for layout differ a lot. Still, might be worth investigating.
from charts.css.
@ramiy now that 1.1.0 is out, should this issue be closed, or is accessibility still an issue?
from charts.css.
I'll check
from charts.css.
Yes, it was fixed.
As of v1.0.0, elements are no longer hidden with display:none
, they use visually-hidden mixin.
@gregoriopellegrino Thank you for your valuable feedback.
from charts.css.
Related Issues (20)
- v1.0.1 seems not compatible with 0.9.0 HOT 4
- Data label upright on pie charts HOT 2
- Second axes breaks Firefox B&W printing
- Replace color-adjust with print-color-adjust
- hidden 'data' in 'area'
- Pie chart tooltip HOT 4
- Avoid spacing in area charts
- Donut pie charts HOT 1
- Pie charts don't support advanced colors
- Divide CSS file in smaller packages?
- Overlapping Bar and Column Chart HOT 1
- Grouped stacked columns
- What are the hurdles to getting pie charts added? HOT 5
- Is there a way to make line thickness uniform for line charts? HOT 5
- Line gets clipped in line chart when value is 100% HOT 4
- Enhancement idea: Can we improve things with css `attr` values? HOT 1
- Scatterplots HOT 1
- Table Data Cells <td> interfering with responsive Table <table> elements (Safari v15 MacOS)
- Absence of percentage label in pie charts
- Which browsers are supported? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.css.