7,328 questions
0
votes
0
answers
27
views
Accessibility: focus trap not retained within SLDS modal on mobile [closed]
We are using an SLDS modal, and during testing with NVDA on a web browser, the focus trap within the modal works as expected. However, when the application is accessed on mobile devices (Chrome on ...
2
votes
2
answers
93
views
Input loses focus after disabled and re-enabled
I want to disable the input box while it is processing, and to re-enable and return the focus to it when processing is done
This works to disable and re-enable the input box but it loses the focus ...
0
votes
0
answers
41
views
ul ref not getting updated when a list element is removed and as such the focus goes back to the body
I have an unordered list wherein each list item is a card which contains a button. The button opens a popover with 2 options - edit/delete.
When I tab through to the button and click on delete, a new ...
0
votes
0
answers
79
views
Kotlin Jetpack Compose LazyColumn + stickyHeader: focused item hidden under sticky header when navigating with keyboard or with accessibility TalkBack
I have a LazyColumn with multiple stickyHeaders. When navigating the list using keyboard, I encounter a layout issue.
Expected behavior
When an item receives focus, the list should scroll so that the ...
0
votes
0
answers
39
views
TTntUpDown sometimes catches clicks even when I click somewhere else
A TTntFrame-derived element contains an instance of TTntUpDown, which is attached to TTntDateTimePicker. The frame is located on a tab sheet of TTntPageControl placed on a form derived from TTntForm.
...
-1
votes
1
answer
78
views
Focus on cancel button
I've upgraded from Bootstrap 4 to 5 and now when Sweetalert2 confirmation is opened at a modal, focus remains on modal at its "close" button.
But when I open Sweetalert2 directly from the ...
4
votes
1
answer
102
views
useEffect is running a function an additional time instead of once per if statement
I have a modal. This modal opens after a user uploads a CSV. They can then make changes to the entries or delete them. The user can Confirm & Continue (go to next page, modal closes) or Upload New ...
1
vote
1
answer
173
views
on iOS26 select lose focus after change value
Steps: I click select, on list select option, list is collapsed. After that on other platforms select stay focused. On iOS26 only (Chrome and Safari both) body gain focus. WebKit in Safari 26 ...
0
votes
1
answer
99
views
Setting the focus in .ascx user controls
I am having some difficulty setting the focus inside an .ascx custom control. Microsoft Copilot advises me to place a txtName.Focus() or Page.SetFocus(txtName) inside the Page_Load event of the .ascx.
...
0
votes
0
answers
24
views
tvOS UITableView shows shadow on top and bottom when manually changing contentOffset
I’m working on a tvOS app using Swift, and I have a UITableView that contains three sections.
For first two sections, each contain a horizontally scrolling UICollectionView.
The last section contains ...
0
votes
1
answer
100
views
How can I Set Focus to an item property in a TreeView
Set Focus to an item property in a TreeView
The TreeView looks like:
<TreeView
Name="Tree"
BorderThickness="0"
ItemsSource="{Binding Items}">
<...
1
vote
0
answers
48
views
Is it possible to "openFilePreserveFocus" without preview mode on VS Code?
I am currently trying to adopt keyboard shortcuts for frequent tasks, where using
the mouse has become cumbersome.
When writting c and c++, I find myself setting up two tab groups and opening make, .h,...
4
votes
3
answers
339
views
HTML link does not get focus outline on receiving focus unless textarea has been focussed explicitly
Example 1 - No focus outline for link
I have a keydown handler for a <textarea>. When the handler gets invoked, I want a link (<a> tag) to receive focus. If you run the example below, ...
2
votes
1
answer
138
views
react-select - focused option resets on React state change
I have a custom component wrapper around a react-select, but I've also noticed this same behavior in the react-select by itself as well. The behavior occurs when using react-select whenever the React ...
1
vote
1
answer
93
views
How can screen reader users resume reading after closing a modal window?
I'm building a fully accessible webpage for blind users who rely on screen readers for our study. They can read a document and ask AI assistant questions.
Current design:
The main content is a ...