You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
The "New Chat" link also contains a button element that serves a redundant purpose. The repeated UI is not necessary and is more likely to lead to confusion.
Notes:
In this case, the button is not necessary, and the link can handle the "New Chat" action via one interactive element, which would result in a cleaner UI and align with the pattern of the rest of the Chat History.
A simple way to fix this would be to add aria-hidden="true" to the button element to hide it from the Accessibility API and also add tabindex="-1" to remove it from the focus order. This leaves the button but essentially makes it inoperable or discoverable by AT.
A more robust solution would be to remove the button element while the icon can remains as part of the anchor (but it should remain hidden as well with aria-hidden attribute).
The text was updated successfully, but these errors were encountered:
Issue Description:
The "New Chat" link also contains a button element that serves a redundant purpose. The repeated UI is not necessary and is more likely to lead to confusion.
WCAG Criteria:
4.1.1 Parsing - A
Code Snippet:
Notes:
In this case, the button is not necessary, and the link can handle the "New Chat" action via one interactive element, which would result in a cleaner UI and align with the pattern of the rest of the Chat History.
aria-hidden
attribute).The text was updated successfully, but these errors were encountered: