apache / apache/echarts-www

Online builder file fails to output ARIA descriptions of charts

Open
#67 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
68
Forks
66
Avg merge
4d 9h
Merged PRs (30d)
2

Description

Hi there,

Thanks for all your hard work on ECharts and the great documentation for it.

## Issue description

When using the online builder to generate a leaner bundle containing only the features I am using, I noticed that switching to this bundle from the full uncompressed bundle broke the ARIA description.

I wondered if this was related to the features I had removed, so for experiment's sake I tried building an Echarts file with every chart, coordinate system, and component, which I would expect to be functionally identical to the full, uncompressed [echarts.js](https://github.com/apache/echarts/blob/5.6.0/dist/echarts.js) distribution, but this still didn't generate ARIA descriptions, and the bundle generated file was about ~300KB smaller than the full distribution.

## Reproduction

I have created a minimal test case showing this behaviour in action.
[Here](https://jegtnes.github.io/echarts-aria-bundle-reproduction/failure.html) is an HTML document rendering a chart with the builder bundle, not outputting an aria-label.
[Here](https://jegtnes.github.io/echarts-aria-bundle-reproduction/success.html) is an HTML document rendering a chart with the full bundle, successfully outputting an aria-label.

## Expected outcome
Generating an Echarts file from the online builder that includes the functionality to successfully output an aria-label from a chart.

## Actual outcome
Generating an Echarts file from the online builder does not include the functionality to successfully output an aria-label from a chart.

Let me know if you need any more information or if I can help to address this issue in any way. Many thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked failure.html and success.html reproductions, then compare the online builder output with the full dist/echarts.js bundle mentioned in the report. Trace how the builder includes the ARIA functionality and verify that a generated bundle produces the expected chart aria-label without requiring the full bundle.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, build-system, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.