Skip to content

Fix accessibility in doc site#640

Merged
joshuarrrr merged 2 commits intoopensearch-project:mainfrom
BSFishy:fix_accessibility
Jun 27, 2023
Merged

Fix accessibility in doc site#640
joshuarrrr merged 2 commits intoopensearch-project:mainfrom
BSFishy:fix_accessibility

Conversation

@BSFishy
Copy link
Contributor

@BSFishy BSFishy commented Mar 28, 2023

Description

There are a few places around the doc site where accessibility wasn't passing. This PR fixes that. This doesn't go into any sort of component iteration or refactoring components so these don't need to be specified, only fixing parts that are failing. Although, these might be a good place to start when refactoring components to be more accessible out of the box

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • All tests pass
    • yarn lint
    • yarn test-unit
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Matt Provost <provomat@amazon.com>
@BSFishy BSFishy requested a review from a team as a code owner March 28, 2023 21:05
@BSFishy BSFishy changed the title Fix accessibility Fix accessibility in doc site Mar 28, 2023
@BSFishy BSFishy mentioned this pull request Mar 28, 2023
6 tasks
<a id="root" role="button" aria-labelledby="selected" aria-controls="dropdown" tabindex="0">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" role="img"
width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24">
width="1em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24" aria-hidden="true">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Context for reviewers: OuiIcon already adds the aria-hidden attribute given certain criteria. This icon would meet that criteria. Not sure why this wasn't there in the first place

@BSFishy BSFishy mentioned this pull request May 22, 2023
6 tasks
@joshuarrrr joshuarrrr merged commit 18cc9df into opensearch-project:main Jun 27, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 27, 2023
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Iskander Rakhmanberdiyev <115498679+rednaksi91@users.noreply.github.com>
(cherry picked from commit 18cc9df)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshuarrrr pushed a commit that referenced this pull request Jun 28, 2023
(cherry picked from commit 18cc9df)

Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Iskander Rakhmanberdiyev <115498679+rednaksi91@users.noreply.github.com>
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.

5 participants