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

Address a11y violations in Settings screens #979

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

jenny-s51
Copy link
Contributor

@jenny-s51 jenny-s51 commented Feb 27, 2023

Description

Closes #967

How Has This Been Tested?

User and Group Settings - Before:
Screen Shot 2023-02-23 at 3 53 58 PM

User and Group Settings - After:
Screen Shot 2023-02-27 at 9 45 12 AM

Cluster Settings - no violations:
Screen Shot 2023-02-23 at 3 52 41 PM

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@jenny-s51 jenny-s51 changed the title Address a11y violations in settings screens Address a11y violations in Settings screens Feb 27, 2023
@openshift-merge-robot openshift-merge-robot added the needs-rebase PR needs to be rebased label Feb 28, 2023
@jenny-s51 jenny-s51 force-pushed the settingsA11y branch 2 times, most recently from 35a54e5 to 8850b5b Compare February 28, 2023 14:29
@openshift-merge-robot openshift-merge-robot removed the needs-rebase PR needs to be rebased label Feb 28, 2023
Copy link
Member

@andrewballantyne andrewballantyne left a comment

Choose a reason for hiding this comment

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

Looks like the Dropdown itself has an aria label issue.
image

Seems the dropdown itself needs one -- not sure if PF allows us to configure that.

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select
@lucferbux
Copy link
Contributor

Looks like the Dropdown itself has an aria label issue. image

Seems the dropdown itself needs one -- not sure if PF allows us to configure that.

Verified that the aria label is now included

Screenshot 2023-03-01 at 12 46 55

Copy link
Contributor

@lucferbux lucferbux left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 2, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewballantyne, lucferbux

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Mar 2, 2023
@openshift-merge-robot openshift-merge-robot merged commit 9dc80ea into opendatahub-io:main Mar 2, 2023
jenny-s51 added a commit to jenny-s51/odh-dashboard that referenced this pull request Mar 6, 2023
more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

Add faker for the pass through api to enable regular user testing (opendatahub-io#806)

* Add faker for the pass through api to enable regular user testing

* Add faker for backend openshift user

* add impersonate function for developers

* address comments and modify the doc

* Update to get the access token by making API call

* update doc

* add error message

* Fix lint issues

* address comments

---------

Co-authored-by: Juntao Wang <juntwang@redhat.com>

Storybook test integration (opendatahub-io#974)

* added storybook boilerplate

added a mock and decorator

added tests

fixed deps for storybook

linter

old tests dont work on jest 28, reverting

linter error fix

fix build errors

fixed deps

* trimmed mocks

fixed tests

* fix webpack changes

* added a11y test to test-runner

fix a11y errors in settings (opendatahub-io#979)

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select

fix a11y violation in cluster storage modal and list view
jenny-s51 added a commit to jenny-s51/odh-dashboard that referenced this pull request Mar 6, 2023
more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

Add faker for the pass through api to enable regular user testing (opendatahub-io#806)

* Add faker for the pass through api to enable regular user testing

* Add faker for backend openshift user

* add impersonate function for developers

* address comments and modify the doc

* Update to get the access token by making API call

* update doc

* add error message

* Fix lint issues

* address comments

---------

Co-authored-by: Juntao Wang <juntwang@redhat.com>

Storybook test integration (opendatahub-io#974)

* added storybook boilerplate

added a mock and decorator

added tests

fixed deps for storybook

linter

old tests dont work on jest 28, reverting

linter error fix

fix build errors

fixed deps

* trimmed mocks

fixed tests

* fix webpack changes

* added a11y test to test-runner

fix a11y errors in settings (opendatahub-io#979)

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select

fix a11y violation in cluster storage modal and list view
jenny-s51 added a commit to jenny-s51/odh-dashboard that referenced this pull request Mar 6, 2023
more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

Add faker for the pass through api to enable regular user testing (opendatahub-io#806)

* Add faker for the pass through api to enable regular user testing

* Add faker for backend openshift user

* add impersonate function for developers

* address comments and modify the doc

* Update to get the access token by making API call

* update doc

* add error message

* Fix lint issues

* address comments

---------

Co-authored-by: Juntao Wang <juntwang@redhat.com>

Storybook test integration (opendatahub-io#974)

* added storybook boilerplate

added a mock and decorator

added tests

fixed deps for storybook

linter

old tests dont work on jest 28, reverting

linter error fix

fix build errors

fixed deps

* trimmed mocks

fixed tests

* fix webpack changes

* added a11y test to test-runner

fix a11y errors in settings (opendatahub-io#979)

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select

fix a11y violation in cluster storage modal and list view
jenny-s51 added a commit to jenny-s51/odh-dashboard that referenced this pull request Mar 7, 2023
more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

Add faker for the pass through api to enable regular user testing (opendatahub-io#806)

* Add faker for the pass through api to enable regular user testing

* Add faker for backend openshift user

* add impersonate function for developers

* address comments and modify the doc

* Update to get the access token by making API call

* update doc

* add error message

* Fix lint issues

* address comments

---------

Co-authored-by: Juntao Wang <juntwang@redhat.com>

Storybook test integration (opendatahub-io#974)

* added storybook boilerplate

added a mock and decorator

added tests

fixed deps for storybook

linter

old tests dont work on jest 28, reverting

linter error fix

fix build errors

fixed deps

* trimmed mocks

fixed tests

* fix webpack changes

* added a11y test to test-runner

fix a11y errors in settings (opendatahub-io#979)

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select

fix a11y violation in cluster storage modal and list view
jenny-s51 added a commit to jenny-s51/odh-dashboard that referenced this pull request Mar 8, 2023
more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

remove unused import

revert id update

fix project modal

wip Workbenches, need image

more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

Add faker for the pass through api to enable regular user testing (opendatahub-io#806)

* Add faker for the pass through api to enable regular user testing

* Add faker for backend openshift user

* add impersonate function for developers

* address comments and modify the doc

* Update to get the access token by making API call

* update doc

* add error message

* Fix lint issues

* address comments

---------

Co-authored-by: Juntao Wang <juntwang@redhat.com>

Storybook test integration (opendatahub-io#974)

* added storybook boilerplate

added a mock and decorator

added tests

fixed deps for storybook

linter

old tests dont work on jest 28, reverting

linter error fix

fix build errors

fixed deps

* trimmed mocks

fixed tests

* fix webpack changes

* added a11y test to test-runner

fix a11y errors in settings (opendatahub-io#979)

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select

fix a11y violation in cluster storage modal and list view

package-lock.json

package-lock.json

update DetailsSection.tsx

remove aria-labelledby

Table PR suggestion from Gage

lint and revert Stack removal
jenny-s51 added a commit to jenny-s51/odh-dashboard that referenced this pull request Mar 9, 2023
more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

remove unused import

revert id update

fix project modal

revert stack

wip Workbenches, need image

more workbenches a11y updates

fix dsp modal

fix more select issues

prettier

Add faker for the pass through api to enable regular user testing (opendatahub-io#806)

* Add faker for the pass through api to enable regular user testing

* Add faker for backend openshift user

* add impersonate function for developers

* address comments and modify the doc

* Update to get the access token by making API call

* update doc

* add error message

* Fix lint issues

* address comments

---------

Co-authored-by: Juntao Wang <juntwang@redhat.com>

Storybook test integration (opendatahub-io#974)

* added storybook boilerplate

added a mock and decorator

added tests

fixed deps for storybook

linter

old tests dont work on jest 28, reverting

linter error fix

fix build errors

fixed deps

* trimmed mocks

fixed tests

* fix webpack changes

* added a11y test to test-runner

fix a11y errors in settings (opendatahub-io#979)

varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select

fix a11y violation in cluster storage modal and list view

package-lock.json

package-lock.json

fix a11y in data connections and models/model servers

update DetailsSection to match changes on other branch

update Table file

fix pagination axe error

PR feedback from Andrew

change aria label text on password input
lucferbux pushed a commit to lucferbux/odh-dashboard that referenced this pull request Mar 13, 2023
varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select
bartoszmajsak pushed a commit to maistra/odh-dashboard that referenced this pull request Mar 30, 2023
varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select
strangiato pushed a commit to strangiato/odh-dashboard that referenced this pull request Oct 18, 2023
varname

rename bodyText to ariaLabel

add aria label to select

add aria-label to Select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[A11y] Address A11y issues on Settings
5 participants