Skip to content

Attempt to work around unknown trait in LiquidGlass _UIButtonBarButton.#40

Open
strangewiz wants to merge 1 commit intogoogle:masterfrom
strangewiz:traits
Open

Attempt to work around unknown trait in LiquidGlass _UIButtonBarButton.#40
strangewiz wants to merge 1 commit intogoogle:masterfrom
strangewiz:traits

Conversation

@strangewiz
Copy link

No description provided.

if ([NSStringFromClass([element class]) isEqualToString:@"_UIButtonBarButton"]) {
UIAccessibilityTraits traits = ((UIView*)element).accessibilityTraits;
// Unclear what trait 0x8000000 is, but with liquid glass on iOS26
// this element appears to want to be ignored.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please expand on what you mean by wants to be ignored, sorry I am reading this as element is not focusable by voice over?

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.

2 participants