Skip to content

UICollectionViewCell filtered out of Accessibility Element Path #178

Description

@b-levinger

I ran into an issue with trying to click a button that is a child of a UICollectionViewCell, when the SLAccessibilityPath builds up it's path filterRawAccessibilityElementPath skips over the cell in the hierarchy which causes the button to never become tappable.

I fixed it with a quick hack by adding:

if ([self isKindOfClass:[UICollectionViewCell class]]) {
return YES;
}

in NSObject+SLAccessibilityHierarchy - (BOOL)classForcesPresenceInAccessibilityHierarchy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions