Giter Site home page Giter Site logo

Accessibility about charts.css HOT 7 CLOSED

chartscss avatar chartscss commented on May 1, 2024 6
Accessibility

from charts.css.

Comments (7)

ramiy avatar ramiy commented on May 1, 2024 1

@gregoriopellegrino Very good point. I will add this to my TODO list.

from charts.css.

jasondilworth56 avatar jasondilworth56 commented on May 1, 2024 1

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.

ramiy avatar ramiy commented on May 1, 2024 1

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.

privatemonkey avatar privatemonkey commented on May 1, 2024

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.

filmaj avatar filmaj commented on May 1, 2024

@ramiy now that 1.1.0 is out, should this issue be closed, or is accessibility still an issue?

from charts.css.

gregoriopellegrino avatar gregoriopellegrino commented on May 1, 2024

I'll check

from charts.css.

ramiy avatar ramiy commented on May 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.