-
Notifications
You must be signed in to change notification settings - Fork 2
INS-1517 Design 508 Fixes #488
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
base: 3.3.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses 508 compliance issues identified by WAVE and AXE accessibility tools, primarily focusing on color contrast improvements and ARIA label additions to enhance accessibility for users with disabilities.
Changes:
- Updated color values across multiple components to meet WCAG contrast requirements
- Added aria-label attributes to interactive elements and descriptive alt text to images
- Refactored pagination component to use semantic HTML structure instead of nested divs
- Implemented unique IDs for footer email inputs across responsive variants
- Enhanced reset filter button with hover state functionality
Reviewed changes
Copilot reviewed 25 out of 29 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/landing/landingView.js | Fixed image alt text reference and updated text colors for better contrast |
| src/pages/landing/components/statsView.js | Adjusted text color for improved visibility |
| src/pages/error/Error.js | Converted background image to img element with alt text, updated button colors |
| src/pages/dataSets/SearchBox/index.js | Removed unused aria-describedby attribute |
| src/pages/dataSets/Filters/Filters.css | Updated reset text color for contrast compliance |
| src/pages/dataSets/Filters/FilterItem.js | Added aria-label to checkbox inputs |
| src/pages/dashTemplate/tabs/DefaultTabTheme.js | Updated program tab text color |
| src/pages/dashTemplate/sideBar/FilterThemeConfig.js | Adjusted sidebar typography color |
| src/pages/dashTemplate/sideBar/BentoFacetFilterStyle.js | Updated multiple colors and spacing for filter controls |
| src/pages/dashTemplate/sideBar/BentoFacetFilter.js | Added hover state logic for reset button and moved SearchView outside nested structure |
| src/pages/dashTemplate/filterQueryBar/QueryBarView.js | Integrated custom styles for query bar |
| src/pages/dashTemplate/filterQueryBar/QueryBarStyles.js | New file defining custom query bar styling |
| src/pages/about/aboutBody.js | Enhanced flowchart image alt text with descriptive content |
| src/pages/about/aboutBody.css | Updated link and header colors for contrast |
| src/components/Pagination/index.js | Refactored pagination to use BSPagination.Item with proper structure and alt text |
| src/components/Pagination/Pagination.css | Simplified CSS to support new semantic pagination structure |
| src/components/Header/components/SearchBarTablet.tsx | Removed empty label wrapper, added aria-label to search input |
| src/components/Header/components/SearchBarMobile.tsx | Removed empty label wrapper, added aria-label to search input |
| src/components/Header/components/SearchBarDesktop.tsx | Removed empty label wrapper, added aria-label to search input |
| src/components/Footer/FooterTablet.tsx | Changed email input ID to emailTablet for uniqueness |
| src/components/Footer/FooterMobile.tsx | Changed email input ID to emailMobile for uniqueness |
| src/components/Footer/FooterDesktop.tsx | Changed email input ID to emailDesktop for uniqueness |
| src/bento/landingPageData.js | Updated all image alt text with descriptive content |
| src/bento/dashTemplate.js | Replaced remote reset icon URL with local SVG assets for different states |
| public/index.html | Moved noscript element and added script to remove it when JS is available |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Overview
Addressed 508 errors flagged in WAVE and AXE extensions. Primarily color contrast issues and aria labels.
Halt!
Please remember to approve, merge, publish, and install the updated packages into the FE to get the aria label changes as well.
CBIIT/bento-frontend#1188
Change Details (Specifics)
Related Ticket(s)
INS-1517