Skip to content

UI - A11Y - Add focus state styling #21781

Closed

Description

@saragunnarsson

Figma file here

Activity

  1. saragunnarsson commented on Jun 13, 2024

    @saragunnarsson
    Author
  2. changed the title [-]UI - Add focus state styling[/-] [+]UI - A11Y - Add focus state styling[/+] on Jun 13, 2024
  3. self-assigned this
    on Jun 28, 2024
  4. dimak1 commented on Jul 3, 2024

    @dimak1
    Collaborator

    @LizGovier ready for UXA: https://bcregistry-assets-dev--pr-1963-xvx3zta2.web.app/

    Few comments:

    • I used outline (instead of a border) to style the focus states
    • The MHR table tabs have small gap(s) to allow the outline fit in
    • Radio buttons might need some tweaking (we use them in different ways, so we'll need to look at them individually)
    • Not all icons are tabbable, because not all icons have tooltips, so I might have missed some elements
    • Not all elements have focus states (e.g. dropdown items) because tickets asks only for tabbable elements

    Please let's treat this as a baseline for an active focus state, and we can build/refine things as we go. Thanks Liz!

  5. LizGovier commented on Jul 4, 2024

    @LizGovier

    Hey @dimak1 I would refer back to the design that Sara did as there is a lot missing (Figma Design)


    • The first focus state is missing

    Screen Shot 2024-07-03 at 10.40.00 PM.png


    • The entire top navigation/header needs styling. We're missing the round corner on the focus states, along with the white stroke.

    Screen Shot 2024-07-03 at 10.40.18 PM.png


    • Account Dropdown hasn't been styled and after I tab from Account Info, the menu closes.

    Private Zenhub Video


    Also when I tab over buttons, the colour of the button changes. It should stay #1669BB
    Current View in UXA Link (button is lighter but should remain the same solid colour when tabbing (#1669BB)
    Screen Shot 2024-07-03 at 10.59.04 PM.png

    Expected Results
    Screen Shot 2024-07-03 at 10.59.23 PM.png

  6. dimak1 commented on Jul 4, 2024

    @dimak1
    Collaborator

    Hi Liz, here is the a preview url with fixes: https://bcregistry-assets-dev--pr-1963-xvx3zta2.web.app/

    As discussed:

    • The header does not have the Skip to Content feature, therefore no focus (there is a ticket for it)
    • Header component is an SbcHeader component, which needs to be updated separately to include desired a11y (new ticket)
    • Fixed Mhr Table tabs, updated focus states for checkboxes, radios
  7. assigned and unassigned on Jul 4, 2024
  8. LizGovier commented on Jul 4, 2024

    @LizGovier

    Thanks @dimak1
    I just noticed that the focus for roles, needs a corner radius. As for the tool tip on this section, I would leave it for now as it is out of scope for this ticket. After that, RFQA
    Screen Shot 2024-07-04 at 2.32.43 PM.png

  9. dimak1 commented on Jul 5, 2024

    @dimak1
    Collaborator

    Fixed and ready in DEV.

  10. chdivyareddy commented on Jul 9, 2024

    @chdivyareddy
    Collaborator

    Verified in TEST!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions