Skip to content

Fix multi-line link accessibility paths#1

Draft
meherkasam-square wants to merge 2 commits intomeher/text-linksfrom
meher/text-links-2
Draft

Fix multi-line link accessibility paths#1
meherkasam-square wants to merge 2 commits intomeher/text-linksfrom
meher/text-links-2

Conversation

@meherkasam-square
Copy link
Owner

No description provided.

@meherkasam-square meherkasam-square self-assigned this Jun 17, 2025
@meherkasam-square meherkasam-square force-pushed the meher/text-links-2 branch 2 times, most recently from 82fcb49 to 4b6728f Compare June 17, 2025 22:03
@meherkasam-square meherkasam-square force-pushed the meher/text-links branch 2 times, most recently from 6e17438 to 7f0464d Compare June 19, 2025 06:11
)

This change supports both VoiceOver and Full Keyboard Access through a
new consolidated class that refactors the existing
`UIAccessibilityElement` code with accommodations for the focus system.

### Demo (tested on an iPad with a hardware keyboard)

Note that I activated the call link using the space bar.


https://github.com/user-attachments/assets/7ebb3511-1e83-4663-976b-225c34007f80

Additionally, it updates how bounding rectangles are calculated for
links so that a more relevant portion of the link is highlighted when it
overflows into multiple lines.

### Demo for the bounding rectangles fix

#### Before


https://github.com/user-attachments/assets/ffdaee0a-d2a2-4e69-b80a-a8016f843653

#### After


https://github.com/user-attachments/assets/b5b7ab41-56ff-4dd3-be47-6f3bf7ddb902
@meherkasam-square meherkasam-square force-pushed the meher/text-links-2 branch 4 times, most recently from 0f68690 to 011fd88 Compare June 23, 2025 20:58
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.

1 participant