You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/12/12 03:33:37 UTC

[GitHub] [echarts] alexjcook opened a new issue, #18054: [Bug] Aria label for series-custom is displayed in wrong language

alexjcook opened a new issue, #18054:
URL: https://github.com/apache/echarts/issues/18054

   ### Version
   
   5.4.1
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html?c=custom-bar-trend
   
   ### Steps to Reproduce
   
   1. Visit the echarts example for Custom Bar Trend:
   https://echarts.apache.org/examples/en/editor.html?c=custom-bar-trend
   2. Toggle "Decal Pattern" to true (which automatically sets `aria.label.enabled` to `true`)
   3. Use firefox accessibility tab to view the generated aria description for the chart
   
   ### Current Behavior
   
   The generated aria description starts with
   "This is a chart. It consists of 8 series count. The 0 series is a **自定义图** representing trend."
   
   ### Expected Behavior
   
   The aria description should be generated in the user's local language.
   "This is a chart. It consists of 8 series count. The 0 series is a **custom series** representing trend."
   
   ### Environment
   
   ```markdown
   - OS: Windows 10
   - Browser: Firefox 107, 64-bit
   - Framework: N/A
   ```
   
   
   ### Any additional comments?
   
   Ideally for a custom series we could define our own aria description to use as the type, instead of "custom". 
   For the above example, we would define it as "line" so the following description could be generated
   "This is a chart. It consists of 8 series count. The 0 series is a **line** representing trend."


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Aria label for series-custom is displayed in wrong language [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart closed issue #18054: [Bug] Aria label for series-custom is displayed in wrong language
URL: https://github.com/apache/echarts/issues/18054


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] plainheart commented on issue #18054: [Bug] Aria label for series-custom is displayed in wrong language

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #18054:
URL: https://github.com/apache/echarts/issues/18054#issuecomment-1346117754

   @Ovilia It seems the fallback series type name is hard-coded as `自定义图`. It should be able to be translated in each locale file.
   https://github.com/apache/echarts/blob/master/src/visual/aria.ts#L267


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org