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

Update search bar with visible label for org and non-org #2855

Open
5 tasks
AnnaGingle opened this issue Sep 26, 2024 · 0 comments · May be fixed by #3560
Open
5 tasks

Update search bar with visible label for org and non-org #2855

AnnaGingle opened this issue Sep 26, 2024 · 0 comments · May be fixed by #3560
Assignees
Labels
accessibility pertains to Section 508 compliance or other accessibility needs carryover Carryover from a previous sprint dev issue is for the dev team story User stories

Comments

@AnnaGingle
Copy link

AnnaGingle commented Sep 26, 2024

Story

As a user, I want to see the label of the search bar even after I begin typing, so that I can clearly understand the input requirements and not lose context while completing the task, in compliance with Trusted Tester SC (success criteria) 3.3.2-label-provided and WCAG SC 3.3.2: Labels or Instructions (Level A).

Additionally, as a user,
I need a consistent design pattern applied across the non-org model home and the various org model pages (domains, requests, members),
so that my experience is predictable, familiar, and easier to navigate, reducing confusion and effort as I complete tasks.

Acceptance Criteria

  • The search bar input field and search button are tabable.
  • All search bar input field's ANDI output matches the input label.
  • On the domain request home page for the non-org model view, drop the search bar to it's own row and place the reset button to the right of the search component.
  • Update the org model home page to bottom-align the search component and reset + export button
  • Follow the Figma design here : see Figma

Additional Context

Today the org model and non-org model search bars fail Trusted Tester SC (success criteria) 3.3.2-label-provided and WCAG SC 3.3.2:
Labels or Instructions (Level A) because the user cannot see the label after they begin typing. This issue was caught by our latest section 508 audit by the DHS Section 508 office. Providing clear and unambiguous labels and instructions (including examples of expected data formats) helps all users - but particularly those with cognitive, language, and learning disabilities - to enter information correctly.

Additionally, there are some pattern inconsistencies on the non-org model home and the various org model pages with tables (domains, requests, members). A design pattern is a reusable solution to a common problem or interaction. You can read more about patterns in Jyoti's design system presentation. Patterns help create a consistent, familiar experience for users, making interfaces easier to understand and use.
Inconsisent patterns.pdf

📚Helpful links for coding accessible labels and associating forms

Issue Links

Prioritization Comments

WCAG Conformance Level: 2.1 AA
WCAG Standard that applies:
3.3.2 - Labels or Instructions (Level A) (Critical)
Critical Failure if Not Met?: In this case no, see below
Prioritization: High/Must Do
Reason: The current search bar design and inconsistent pattern usage create an accessibility barrier, particularly for users with cognitive or learning disabilities and users who rely on screen readers. When users start typing in the search bar, the label disappears, which makes it difficult for them to understand the input requirements if they lose context mid-task. Additionally, the lack of consistent design patterns across pages impacts usability, increasing cognitive load and potentially causing errors or confusion for users. Fixing this issue is essential for maintaining accessibility and a cohesive user experience across the application, but since it does not prevent all users from using the search functionality, it is prioritized as High / Must Do rather than Blocker.

@AnnaGingle AnnaGingle added dev issue is for the dev team story User stories accessibility pertains to Section 508 compliance or other accessibility needs labels Sep 26, 2024
@h-m-f-t h-m-f-t moved this from 👶 New to 🍦 Backlog in .gov Product Board Sep 30, 2024
@PaulKuykendall PaulKuykendall changed the title Bundle: Update search bar with visible label for org and non-org Update search bar with visible label for org and non-org Oct 31, 2024
@CocoByte CocoByte self-assigned this Feb 11, 2025
@CocoByte CocoByte moved this from 🍦 Backlog to 🎯 Ready in .gov Product Board Feb 14, 2025
@CocoByte CocoByte moved this from 🎯 Ready to 🔖 Planned in .gov Product Board Feb 14, 2025
@CocoByte CocoByte moved this from 🔖 Planned to 🏗 In progress in .gov Product Board Feb 17, 2025
@MzBowieFan77 MzBowieFan77 added the carryover Carryover from a previous sprint label Feb 19, 2025
@MzBowieFan77 MzBowieFan77 moved this from 🏗 In progress to 👀 In review in .gov Product Board Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility pertains to Section 508 compliance or other accessibility needs carryover Carryover from a previous sprint dev issue is for the dev team story User stories
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

3 participants