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

Focus Style - Accessibility #80

Open
wilsonrocks opened this issue Feb 20, 2025 · 0 comments
Open

Focus Style - Accessibility #80

wilsonrocks opened this issue Feb 20, 2025 · 0 comments

Comments

@wilsonrocks
Copy link

Apologies if this is already addressed, but I couldn't see it.

I saw in Firefox accessibility checker that the button is focusable but may be missing focus styles, linking to https://developer.mozilla.org/en-US/docs/Web/Accessibility/Understanding_WCAG/Keyboard?utm_source=devtools&utm_medium=a11y-panel-checks-keyboard#focusable_element_must_have_focus_styling

This does appear to be true - if I tab across to it, it doesn't look visibly different.

{
    "name": "menu",
    "role": "button",
    "actions": [
        "Click"
    ],
    "value": "",
    "nodeCssSelector": ".hamburger-react",
    "nodeType": 1,
    "description": "",
    "keyboardShortcut": "",
    "childCount": 0,
    "indexInParent": 0,
    "states": [
        "collapsed",
        "focusable",
        "opaque",
        "enabled",
        "sensitive",
        "expandable"
    ],
    "children": [],
    "attributes": {
        "margin-left": "0px",
        "text-align": "right",
        "text-indent": "0px",
        "formatting": "block",
        "tag": "div",
        "class": "hamburger-react",
        "xml-roles": "button",
        "margin-top": "0px",
        "margin-bottom": "0px",
        "margin-right": "0px",
        "display": "block",
        "explicit-name": "true"
    }
}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant