Skip to content

Conversation

@huuaho
Copy link
Contributor

@huuaho huuaho commented Jan 21, 2026

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)

  • Updated SVG fill color to be darker
  • Added noscript error for situations where JS does not show up (addressed wave error)
  • Updated the clear filter icon based off design
  • Added alt tags to images on landing page based off PDF
  • Gave footer elements unique IDs across the different responsive forms
  • Removed empty label around searchbar
  • Completely revamped pagination on dataset search page to get rid of nested structured
  • Updated colors and alt tags on About page
  • Passed in updated customized query bar styling
  • Moved searchview out from nested structure
  • Misc colors, alt tags, and aria labels

Related Ticket(s)

INS-1517

Copilot AI review requested due to automatic review settings January 21, 2026 20:17
Copy link
Contributor

Copilot AI left a 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.

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.

2 participants