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

Keyboard accessibility improvements in Widgets and DS components #835

Merged
merged 19 commits into from
Feb 13, 2024

Conversation

vmilan
Copy link
Contributor

@vmilan vmilan commented Jan 31, 2024

Copy link

This pull request has been linked to Shortcut Story #381221: Enhance information regarding content on Hover and Focus.

Copy link

github-actions bot commented Jan 31, 2024

Pull Request Test Coverage Report for Build 7884892885

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • -23 of 38 (39.47%) changed or added relevant lines in 7 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.4%) to 68.559%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/react-ui/src/widgets/BarWidgetUI/BarWidgetUI.js 2 4 50.0%
packages/react-ui/src/widgets/HistogramWidgetUI/HistogramWidgetUI.js 2 4 50.0%
packages/react-ui/src/widgets/PieWidgetUI/PieWidgetUI.js 1 3 33.33%
packages/react-ui/src/widgets/RangeWidgetUI/RangeWidgetUI.js 1 3 33.33%
packages/react-ui/src/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.js 1 3 33.33%
packages/react-ui/src/widgets/ChartLegend.js 3 6 50.0%
packages/react-ui/src/widgets/CategoryWidgetUI/CategoryWidgetUI.js 5 15 33.33%
Files with Coverage Reduction New Missed Lines %
packages/react-ui/src/widgets/ChartLegend.js 1 66.67%
Totals Coverage Status
Change from base Build 7723907968: -0.4%
Covered Lines: 2626
Relevant Lines: 3489

💛 - Coveralls

Copy link

github-actions bot commented Jan 31, 2024

Visit the preview URL for this PR (updated for commit f73ca81):

https://cartodb-fb-storybook-react-dev--pr835-feature-accessib-pdehv47f.web.app

(expires Tue, 20 Feb 2024 10:18:06 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 517cc4d31d7e09cf277774e034094b67c301cd4c

@vmilan vmilan changed the title Accessibility improvements Keyboard accessibility improvements in Widgets and DS components Feb 6, 2024
@vmilan vmilan requested a review from a team February 7, 2024 17:48
@vmilan vmilan marked this pull request as ready for review February 7, 2024 17:48
@@ -79,6 +79,10 @@ const locales = {
clear: 'Limpiar',
selectedItems: '{items, plural, one {# seleccionado} other {# seleccionados}}',
allSelected: 'Todos seleccionados'
},
chartLegend: {
next: 'Página siguente',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Suggested change
next: 'Página siguente',
next: 'Página siguiente',

@@ -19,6 +19,9 @@ export const navigationOverrides = {
'&:focus-visible': {
// Solves a known Mui issue: https://github.com/mui/material-ui/issues/23747
backgroundColor: 'transparent',
outline: `none !important`,
boxShadow: ` inset 0 0 0 2px ${theme.palette.primary.main} !important`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why an empty space at the beginning? Is it required?

Copy link
Contributor

@VictorVelarde VictorVelarde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typos, LGTM @vmilan

@vmilan vmilan merged commit 4553634 into master Feb 13, 2024
2 checks passed
@vmilan vmilan deleted the feature/accessibility-improvements branch February 13, 2024 15:07
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.

3 participants