Skip to content

[Bug][a11y]: Card action menu is not accessible using the keyboard in small variant  #3389

@majornista

Description

@majornista

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

Card

Expected behavior

Visually hidden action menu button should display when it receives focus.

:host([size="s"]) .actions,
:host([size="s"]) .quick-actions {
    visibility: visible;
}

Actual behavior

The action menu button within a small Card, has visibility: hidden except on :hover or :focus-within, which means the action menu button cannot receive focus unless the Card is hovered.

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code that illustrates the problem

Logs taken while reproducing problem

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CardResearchIssues that require research and/or RFCs.a11yIssues or PRs related to accessibilitybugSomething isn't workingjira ticket createdTODO: Delete label once Jira integration is complete

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions