Dead End
The Dead End pattern occurs when a user is guided into a specific interface state or navigational node from which they cannot easily return, exit, or proceed without completing a forced action (such as accepting tracking cookies or viewing an advertisement). It artificially restricts the user's autonomy by disabling standard navigational escape routes, effectively trapping them in a localized topological sink within the application's flow. This represents a direct, malicious violation of foundational usability heuristics, particularly the principle of "User Control and Freedom," which mandates the presence of an emergency exit for users who navigate into unwanted states.

1
Topological Sink in the Navigational Graph
Condition 1: Topological Sink in the Navigational Graph
Given
To model the interface as a directed graph , we define as the set of user interface states (such as pages or modals) and as the available interactive transitions. From the active interface state , we evaluate the set of all outgoing transition edges, denoted as . If we define as the subset of states representing business-favorable compliance (e.g., “Accept All” or “Subscribe”), the feature triggers if every available outgoing edge strictly forces compliance. This occurs when no edge maps back to a neutral exit state or the previous state , mathematically establishing a navigational trap:
2
Visual Absence of Dismissal Vectors
Condition 2: Visual Absence of Dismissal Vectors
Given
Modals and overlays represent temporary interruptions in a user's workflow, demanding an explicit dismissal affordance to maintain usability and trust. To identify structural traps, we define as the set of bounding boxes identified by the vision-language model as “close icons”, “dismissal vectors”, or “cancel/back buttons”. If the current interface state is identified structurally as an overlay or modal (e.g., characterized by a CSS z-index greater than 100), the visual feature triggers if the set of dismissal objects is entirely empty. This proves the system has deliberately removed the visual means to escape the interruption:
3
Semantic Coercion Density in Trapped States
Condition 3: Semantic Coercion Density in Trapped States
Given
To establish a semantic baseline for Dead End, the algorithm evaluates the NLP sentiment of all visible text within a navigational dead-end state . The feature triggers if the semantic payload of the trapped page exhibits coercive language density—measured as the ratio of imperative verbs and urgency-signaling lexemes to total word count—exceeding a coercion threshold , indicating that the interface compounds structural entrapment with linguistic pressure: