Skip to content

ui: fix accessibility for hover-gated interactive elements assisted b… - #24727

Merged
ServeurpersoCom merged 1 commit into
ggml-org:masterfrom
sanjayahari:ui/conversation-menu-accessibility
Jun 26, 2026
Merged

ui: fix accessibility for hover-gated interactive elements assisted b…#24727
ServeurpersoCom merged 1 commit into
ggml-org:masterfrom
sanjayahari:ui/conversation-menu-accessibility

Conversation

@sanjayahari

@sanjayahari sanjayahari commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

…y claude(in debugging and tests)

Overview

#24701
I investigated the code in SidebarNavigationConversationItem.svelte

The root cause - two problems:

the actions dropdown (Delete, Edit, etc.) is conditionally removed from the DOM via {#if renderActionsDropdown}, so screen readers never see it
the outer element is a with nested interactive elements inside (links, buttons) which is invalid HTML

what fix i have done :

replaced the outer

with a

  • an absolute overlay button for selection
    always render the dropdown in the DOM, use CSS opacity to hide/show it (which is already partially there bcz opacity is 0)
    added :focus-within alongside every :hover rule so keyboard navigation works
    I also found 2 other components missing group-focus-within:opacity-100 alongside group-hover:opacity-100:

ChatAttachmentsListItemMcpPrompt.svelte
ChatMessageUserPending.svelte

Additional information

Requirements

  • I have read and agree with the contributing guidelines
  • AI usage disclosure:
  • YES used Ai for debugging , learning file structure and tests

@sanjayahari

Copy link
Copy Markdown
Contributor Author

@allozaur can you correct me if there is any problem with this PR

@allozaur

Copy link
Copy Markdown
Contributor

@allozaur can you correct me if there is any problem with this PR

Nothing at all, I plan to review it soon and potentially merge into my current improvements for overall UI

@allozaur

Copy link
Copy Markdown
Contributor

Should be rebased once #24897 is merged

@sanjayahari

Copy link
Copy Markdown
Contributor Author

@allozaur sure let me know once the major ui fix pr is done

@allozaur

Copy link
Copy Markdown
Contributor

@sanjayahari let's go, #24897 is merged :)

@sanjayahari
sanjayahari force-pushed the ui/conversation-menu-accessibility branch from f878ead to 8731a0e Compare June 24, 2026 09:00
@sanjayahari

Copy link
Copy Markdown
Contributor Author

@allozaur Okay , I am done with rebasing and other local stuff that created some mess but now ready to go

@allozaur
allozaur requested a review from ServeurpersoCom June 26, 2026 09:22

@ServeurpersoCom ServeurpersoCom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, keyboard navigation tested on my side (Firefox) focus-within reveal works as expected

@ServeurpersoCom
ServeurpersoCom merged commit ded1561 into ggml-org:master Jun 26, 2026
6 checks passed
allozaur added a commit to allozaur/llama.cpp that referenced this pull request Jun 28, 2026
…sisted by claude(in debugging and tests) (ggml-org#24727)"

This reverts commit ded1561.
allozaur added a commit that referenced this pull request Jun 28, 2026
turbo-tan pushed a commit to turbo-tan/llama.cpp-tq3 that referenced this pull request Jul 1, 2026
adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants