From fbc631d151a9fee2cdacacedb587578e7b5cfbdb Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Mon, 15 Jun 2020 11:42:31 -0400 Subject: [PATCH] trait miss --- .../OneColumn/ListOneColumnFullWidthTextAllTextAndLinks.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/OneColumn/ListOneColumnFullWidthTextAllTextAndLinks.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/OneColumn/ListOneColumnFullWidthTextAllTextAndLinks.swift index a355dd4c..184abebc 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/OneColumn/ListOneColumnFullWidthTextAllTextAndLinks.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/OneColumn/ListOneColumnFullWidthTextAllTextAndLinks.swift @@ -95,7 +95,8 @@ import Foundation func updateAccessibilityLabel() { let linkShowing = link.titleLabel?.text?.count ?? 0 > 0 - isAccessibilityElement = !linkShowing + isAccessibilityElement = !linkShowing + accessibilityTraits = (accessoryView != nil) ? .button : .none if !linkShowing { // Make whole cell focusable if no link. accessibilityLabel = getAccessibilityMessage()