Skip to content

[v10] fix(ui-modal): voiceOver in Chrome treats scrollable modal body as single interactive object preventing line-by-line navigation#2409

Merged
matyasf merged 1 commit intov10_maintenancefrom
fix_modal_scroll_aria
Feb 18, 2026
Merged

[v10] fix(ui-modal): voiceOver in Chrome treats scrollable modal body as single interactive object preventing line-by-line navigation#2409
matyasf merged 1 commit intov10_maintenancefrom
fix_modal_scroll_aria

Conversation

@matyasf
Copy link
Collaborator

@matyasf matyasf commented Feb 17, 2026

This is a backport of #2405

VoiceOver in Chrome treats scrollable modal body as a single interactive object, preventing line-by-line navigation in browse mode. This commit adds an aria-label to this to the Modal's body when it has a scrollbar fixing the issue.

To test:

  1. Create a modal dialog with vertically scrollable content
  2. Open modal in Chrome
  3. Use VoiceOver browse mode (Control + Option + arrow keys)
  4. Attempt to navigate line-by-line within modal body

Fixes INSTUI-4900

…ngle interactive object preventing line-by-line navigation

VoiceOver in Chrome treats scrollable modal body as a single interactive object, preventing
line-by-line navigation in browse mode. This commit adds an aria-label to this to the Modal's body
when it has a scrollbar fixing the issue.

To test:
1. Create a modal dialog with vertically scrollable content
2. Open modal in Chrome
3. Use VoiceOver browse mode (Control + Option + arrow keys)
4. Attempt to navigate line-by-line within modal body

Fixes INSTUI-4900
@matyasf matyasf self-assigned this Feb 17, 2026
Math.abs(
(finalRef.scrollHeight ?? 0) -
(finalRef.getBoundingClientRect()?.height ?? 0)
) > 1
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was increased from 0.05 to prevent scrollbar when e.g. one value is 23.5 and the other 24.

@matyasf matyasf requested review from balzss and joyenjoyer February 17, 2026 12:59
@github-actions
Copy link

github-actions bot commented Feb 17, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-18 12:12 UTC

@matyasf matyasf merged commit e387644 into v10_maintenance Feb 18, 2026
9 checks passed
@matyasf matyasf deleted the fix_modal_scroll_aria branch February 18, 2026 12:12
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

Successfully merging this pull request may close these issues.

3 participants

Comments