Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix confusion matrix highcharts heatmap keyboard focus order accessibility #2452

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

imatiach-msft
Copy link
Contributor

@imatiach-msft imatiach-msft commented Dec 8, 2023

Description

fix confusion matrix highcharts heatmap keyboard focus order accessibility

Screenshot of confusion matrix with fixed keyboard focus order (note it's difficult to portray this bug without understanding which key is pressed when since this is an issue with up/down arrow keys going to the wrong cell):
image

Based on this stack overflow I discovered this is occurring due to the "reversed" attribute on the y axis:
https://stackoverflow.com/questions/64450163/highcharts-js-keyboard-navigation-issue

[Keyboard navigation – Responsible AI Dashboard – Vision Dashboard>Model overview]: Keyboard focus order is not logical while navigating the 'Confusion matrix' chart using up/down arrow keys.

User Experience:
People who depend on keyboard for navigation will get impacted if focus order is not logical while navigating the chart using up and down arrow keys. As a result, the end user will not be able to access the chart and will find difficulty in understanding the 'Confusion matrix'.

Repro Steps:
Open RAI dashboard
Navigate to the "Model overview" section and select 'Confusion matrix' tab.
Navigate the 'Confusion matrix' chart using arrow keys.
Observe whether keyboard focus order is logical or not while navigating using up and down arrow keys.
Actual Result:
Keyboard focus order is not logical while navigating the 'Confusion matrix' chart using up/down arrow keys.

Observation:
While navigating the 'Confusion matrix' chart, up and down arrow keys are performing reverse functionality.
When focus is on the first cell i.e., on the "Can", by pressing up arrow, the focus is moving to the below cell i.e., on the "Carton".
Expected Result:
Keyboard focus order should be in logical order while navigating the 'Confusion matrix' chart using up/down arrow keys.

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

@imatiach-msft imatiach-msft force-pushed the ilmat/fix-conf-matrix-keyboard-accessibility branch from c228c04 to dad0b94 Compare December 13, 2023 23:07
@imatiach-msft imatiach-msft merged commit 0700cdc into main Dec 14, 2023
61 checks passed
@imatiach-msft imatiach-msft deleted the ilmat/fix-conf-matrix-keyboard-accessibility branch December 14, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants