apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
62.05k stars 13.61k forks source link

Echarts native support for accessibility #28173

Open frassinier opened 5 months ago

frassinier commented 5 months ago

Screenshot

image

Description

After setting aria.show to true, ECharts will automatically generate a description of the chart according to the title, chart, data, etc. Users can also set description manually through the configuration object.

Increasing accessibility support in Apache/Superset through enhanced a11y features, such as generating aria-label with Echarts, is crucial for ensuring inclusivity and usability for all users, including those with disabilities.

By adhering to WCAG guidelines and making adjustments to colors and patterns as required, we not only enhance the user experience for individuals with disabilities but also align with standards for accessibility, promoting a more inclusive and equitable platform for all users.

Apache/Echarts has built-in capabilities for describing charts. Let's decide to enable this feature by default, promoting inclusive content for all users. Otherwise, it may be worth considering the implementation of a feature flag to provide flexibility and accommodate varying user preferences.

Design input

If we wish to take additional steps, we can also consider altering the pattern of each series, as illustrated in https://github.com/apache/superset/pull/28171 description

villebro commented 5 months ago

@frassinier great feature request/POC! This is something we're eagerly hoping to support soon, but we need a mechanism for making it possible to enable/disable this type of functionality on a per-user basis. Please take a look at #28047 for more details.

frassinier commented 5 months ago

@villebro Excellent! I like the idea of setting up a user preferences service!

rusackas commented 5 months ago

Hah, just left a comment to that effect on the PR, but it looks like you beat me to the punch here :)