Library
React / v8 (@fluentui/react)
System Info
npx: installed 1 in 3.495s
System:
OS: Windows 10 10.0.22000
CPU: (16) x64 Intel(R) Xeon(R) W-2245 CPU @ 3.90GHz
Memory: 22.40 GB / 63.60 GB
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (104.0.1293.54)
Internet Explorer: 11.0.22000.120
Are you reporting Accessibility issue?
yes
Reproduction
Bug Description
Actual Behavior
LineChart have legends present at the bottom. In case of Overflow legends are shown as a group with title as {Number} more. role for this html element is hardcoded as link which is an accessibility issue because it's not redirecting to another page.
Expected Behavior
role here should be button as onHover of that button we are showing overflowing legends or it should take role as an parameter
Logs
No response
Requested priority
High
Products/sites affected
Sharepoint admin center
Are you willing to submit a PR to fix?
no
Validations
Library
React / v8 (@fluentui/react)
System Info
npx: installed 1 in 3.495s System: OS: Windows 10 10.0.22000 CPU: (16) x64 Intel(R) Xeon(R) W-2245 CPU @ 3.90GHz Memory: 22.40 GB / 63.60 GB Browsers: Edge: Spartan (44.22000.120.0), Chromium (104.0.1293.54) Internet Explorer: 11.0.22000.120Are you reporting Accessibility issue?
yes
Reproduction
fluentui/packages/charting/src/components/Legends/Legends.base.tsx
Line 307 in bfe1eb6
Bug Description
Actual Behavior
LineChart have legends present at the bottom. In case of Overflow legends are shown as a group with title as {Number} more. role for this html element is hardcoded as link which is an accessibility issue because it's not redirecting to another page.
fluentui/packages/charting/src/components/Legends/Legends.base.tsx
Line 307 in bfe1eb6
Expected Behavior
role here should be button as onHover of that button we are showing overflowing legends or it should take role as an parameter
Logs
No response
Requested priority
High
Products/sites affected
Sharepoint admin center
Are you willing to submit a PR to fix?
no
Validations