mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-12 20:44:24 +01:00
🔖 fix: Announce Bookmark Selection State (#11450)
* fix: bookmarks announce selection state * chore: address Copilot comments
This commit is contained in:
parent
828c2b2048
commit
12ec64b988
6 changed files with 40 additions and 12 deletions
|
|
@ -148,6 +148,9 @@ const Menu: React.FC<MenuProps> = ({
|
|||
hideOnClick={item.hideOnClick}
|
||||
aria-haspopup={item.ariaHasPopup}
|
||||
aria-controls={item.ariaControls}
|
||||
aria-label={item.ariaLabel}
|
||||
aria-checked={item.ariaChecked}
|
||||
{...(item.ariaChecked !== undefined ? { role: 'menuitemcheckbox' } : {})}
|
||||
onClick={(event) => {
|
||||
event.preventDefault();
|
||||
if (item.onClick) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue