Skip to content

Conversation

@alexcarpenter
Copy link
Member

@alexcarpenter alexcarpenter commented Oct 31, 2025

Description

  • Introduces a live region that updates when feedback changes to ensure messages are read live to the user as they change
  • Preserves aria-describeby to ensure when tabbing through fields that the feedback message is read on focus

Why Both Are Needed

  • Visually hidden element: Provides real-time announcements as you type (via aria-live)
  • Visual elements: Provide context when navigating - when a screen reader user tabs to the password field, it reads: "Password field, [error message]" using the aria-describedby connection

So you get:

  • While typing: "Password too short" → "Add uppercase letters" (from live region)
  • When focusing field: "Password, Password too short" (from aria-describedby)

fixes USER-3837

Testing

  1. open VO and within the password input, start typing to trigger the different feedback
    • acceptance: the contents of the feedback should be immediately read to screen reader
  2. submit an invalid form which renders error feedback on fields. open VO and tab through the fields
    • acceptance: the error messages should be read on focus due to the aria-describedby connection to the inputs
Screen.Recording.2025-10-31.at.1.45.07.PM.mov

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • Bug Fixes

    • Improved screen reader accessibility by adding a dedicated live region so feedback messages are reliably announced when they change.
  • Tests

    • Tightened UI tests to more precisely target feedback and error elements, improving test reliability.
  • Chores

    • Recorded a patch release for the package.

@changeset-bot
Copy link

changeset-bot bot commented Oct 31, 2025

🦋 Changeset detected

Latest commit: b3415aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 31, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Ready Preview Comment Nov 5, 2025 2:34pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 31, 2025

Walkthrough

Adds a visually hidden ARIA live region to FormControl to announce feedback updates to screen readers, removes per-feedback aria-live attributes, updates imports, and tightens many tests to assert feedback via element-specific selectors and the live region's content/positioning.

Changes

Cohort / File(s) Change Summary
Release metadata
/.changeset/puny-places-shine.md
Adds a new changeset recording a patch release for @clerk/clerk-js describing the ARIA live region addition.
FormControl component
packages/clerk-js/src/ui/elements/FormControl.tsx
Adds a visually hidden <Span> live region before the feedback container; imports Span from customizables and visuallyHidden from styled utilities; removes per-feedback aria-live attributes and retains feedback animation/height logic.
Element tests (scoped selector updates & live-region assertions)
packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx, packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
Renames and extends tests to assert the visually hidden live region (existence, hidden styling, initial empty content, updates on error→success) and tightens feedback assertions to specific element IDs.
Sign-in / Reset / Factor tests
integration/tests/sign-in-flow.test.ts, packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx, packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx, packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
Replaces global text-based error assertions with selector-scoped queries (e.g., #error-password, #error-code, #newPassword-info-feedback) to target specific error containers.
UserProfile tests
packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
Scopes password requirement/error assertions to the element #error-newPassword instead of global text search.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant FormControl
    participant LiveRegion as "Visually Hidden\nLive Region"
    participant ScreenReader

    User->>FormControl: change input / submit
    FormControl->>FormControl: compute feedback (error/success)
    FormControl->>LiveRegion: update hidden text (polite)
    LiveRegion->>ScreenReader: ARIA live announcement
    ScreenReader->>User: announces feedback
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Focus review on packages/clerk-js/src/ui/elements/FormControl.tsx for correct ARIA semantics and visuallyHidden styling usage.
  • Verify Span import/export surface and styled utility imports.
  • Review test changes in packages/.../__tests__/* and integration/tests/sign-in-flow.test.ts for reliable selectors and timing around live-region updates.

Poem

🐰 I hid a whisper out of sight,
A quiet span that speaks polite,
When errors hop and messages change,
The reader hears across the range,
Hooray — small echoes make things right.

Pre-merge checks and finishing touches

✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main objective—ensuring errors are announced to screen readers—which aligns with the core changes to FormControl.tsx adding aria-live regions for feedback accessibility.
Linked Issues check ✅ Passed The PR implements the key coding requirements: adds a visually hidden aria-live region for live feedback announcements, preserves aria-describedby for field focus context, and applies ID-based selectors in tests to validate the accessibility behavior across multiple form components.
Out of Scope Changes check ✅ Passed All changes are directly scoped to fixing the accessibility issue: FormControl.tsx adds the live region component, test files are updated to verify the new accessibility implementation with appropriate DOM selectors, and the changeset documents the fix.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch alexcarpenter/user-3837-form-errors-not-being-announced-by-screen-readers

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between b3ea687 and d770878.

📒 Files selected for processing (6)
  • integration/tests/sign-in-flow.test.ts (2 hunks)
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx (2 hunks)
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx (6 hunks)
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx (3 hunks)
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx (1 hunks)
  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (16)
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • integration/tests/sign-in-flow.test.ts
  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • integration/tests/sign-in-flow.test.ts
  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • integration/tests/sign-in-flow.test.ts
  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
integration/**

📄 CodeRabbit inference engine (.cursor/rules/global.mdc)

Framework integration templates and E2E tests should be placed under the integration/ directory

Files:

  • integration/tests/sign-in-flow.test.ts
integration/**/*

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

End-to-end tests and integration templates must be located in the 'integration/' directory.

Files:

  • integration/tests/sign-in-flow.test.ts
integration/**/*.{test,spec}.{js,ts}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Integration tests should use Playwright.

Files:

  • integration/tests/sign-in-flow.test.ts
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • integration/tests/sign-in-flow.test.ts
  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
packages/clerk-js/src/ui/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/clerk-js-ui.mdc)

packages/clerk-js/src/ui/**/*.{ts,tsx}: Element descriptors should always be camelCase
Use element descriptors in UI components to enable consistent theming and styling via appearance.elements
Element descriptors should generate unique, stable CSS classes for theming
Element descriptors should handle state classes (e.g., cl-loading, cl-active, cl-error, cl-open) automatically based on component state
Do not render hard-coded values; all user-facing strings must be localized using provided localization methods
Use the useLocalizations hook and localizationKeys utility for all text and error messages
Use the styled system (sx prop, theme tokens, responsive values) for custom component styling
Use useCardState for card-level state, useFormState for form-level state, and useLoadingStatus for loading states
Always use handleError utility for API errors and use translateError for localized error messages
Use useFormControl for form field state, implement proper validation, and handle loading and error states in forms
Use localization keys for all form labels and placeholders
Use element descriptors for consistent styling and follow the theme token system
Use the Card and FormContainer patterns for consistent UI structure

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
**/*.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{jsx,tsx}: Use error boundaries in React components
Minimize re-renders in React components

**/*.{jsx,tsx}: Always use functional components with hooks instead of class components
Follow PascalCase naming for components: UserProfile, NavigationMenu
Keep components focused on a single responsibility - split large components
Limit component size to 150-200 lines; extract logic into custom hooks
Use composition over inheritance - prefer smaller, composable components
Export components as named exports for better tree-shaking
One component per file with matching filename and component name
Use useState for simple state management
Use useReducer for complex state logic
Implement proper state initialization
Use proper state updates with callbacks
Implement proper state cleanup
Use Context API for theme/authentication
Implement proper state selectors
Use proper state normalization
Implement proper state persistence
Use React.memo for expensive components
Implement proper useCallback for handlers
Use proper useMemo for expensive computations
Implement proper virtualization for lists
Use proper code splitting with React.lazy
Implement proper cleanup in useEffect
Use proper refs for DOM access
Implement proper event listener cleanup
Use proper abort controllers for fetch
Implement proper subscription cleanup
Use proper HTML elements
Implement proper ARIA attributes
Use proper heading hierarchy
Implement proper form labels
Use proper button types
Implement proper focus management
Use proper keyboard shortcuts
Implement proper tab order
Use proper skip links
Implement proper focus traps
Implement proper error boundaries
Use proper error logging
Implement proper error recovery
Use proper error messages
Implement proper error fallbacks
Use proper form validation
Implement proper error states
Use proper error messages
Implement proper form submission
Use proper form reset
Use proper component naming
Implement proper file naming
Use proper prop naming
Implement proper...

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
packages/**/*.{test,spec}.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Unit tests should use Jest or Vitest as the test runner.

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
packages/{clerk-js,elements,themes}/**/*.{test,spec}.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Visual regression testing should be performed for UI components.

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
**/*.tsx

📄 CodeRabbit inference engine (.cursor/rules/react.mdc)

**/*.tsx: Use proper type definitions for props and state
Leverage TypeScript's type inference where possible
Use proper event types for handlers
Implement proper generic types for reusable components
Use proper type guards for conditional rendering

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
**/*.test.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/react.mdc)

**/*.test.{jsx,tsx}: Use React Testing Library
Test component behavior, not implementation
Use proper test queries
Implement proper test isolation
Use proper test coverage
Test component interactions
Use proper test data
Implement proper test setup
Use proper test cleanup
Implement proper test assertions
Use proper test structure

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
**/__tests__/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/typescript.mdc)

**/__tests__/**/*.{ts,tsx}: Create type-safe test builders/factories
Use branded types for test isolation
Implement proper mock types that match interfaces

Files:

  • packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx
  • packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx
  • packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: Formatting | Dedupe | Changeset
  • GitHub Check: Build Packages
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (8)
packages/clerk-js/src/ui/components/UserProfile/__tests__/PasswordSection.test.tsx (1)

541-541: LGTM! More precise test assertion.

Scoping the error message query to #error-newPassword makes the test more resilient and aligns with the PR's accessibility improvements. This ensures the error appears in the correctly identified element for screen reader announcements via aria-describedby.

packages/clerk-js/src/ui/elements/__tests__/RadioGroup.test.tsx (1)

171-171: LGTM! Improved test specificity.

Scoping the error message query to #error-some-radio ensures the test verifies both the presence and correct placement of the error message, which directly supports the aria-describedby relationship verified on line 176.

integration/tests/sign-in-flow.test.ts (1)

131-131: LGTM! Improved error assertion specificity.

The change from text-based assertions to element-specific locator queries (#error-password) improves test precision and aligns with the accessibility improvements in this PR. Using stable IDs ensures the error messages are correctly positioned in the DOM for screen reader announcements.

Also applies to: 145-145

packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorTwo.test.tsx (1)

188-188: LGTM! Consistent error scoping across 2FA methods.

The scoped assertions using selector: '#error-code' consistently target the code field error element across all second-factor authentication methods (phone code, authenticator app, backup code). This improves test reliability and validates the accessibility structure.

Also applies to: 277-277, 370-370

packages/clerk-js/src/ui/components/SignIn/__tests__/ResetPassword.test.tsx (2)

40-42: LGTM! Proper scoping for informational feedback.

The scoped assertion using selector: '#newPassword-info-feedback' correctly targets the informational feedback element that displays password requirements. The use of -info-feedback suffix appropriately distinguishes informational messages from error messages.


120-120: LGTM! Proper scoping for error feedback.

The scoped assertions using selector: '#error-confirmPassword' correctly target the error element for the confirm password field. The test appropriately validates that the error persists across field interactions, which is important for accessibility.

Also applies to: 123-123

packages/clerk-js/src/ui/components/SignIn/__tests__/SignInFactorOne.test.tsx (2)

189-189: LGTM! Consistent password error scoping.

The scoped assertions using selector: '#error-password' consistently target the password field error element across multiple scenarios (incorrect password, compromised password). This improves test reliability and validates the accessibility structure for password-related feedback.

Also applies to: 252-252, 294-294, 336-336


561-561: LGTM! Consistent code error scoping.

The scoped assertions using selector: '#error-code' consistently target the code field error element for both email and phone code scenarios. This improves test precision and aligns with the accessibility improvements in this PR.

Also applies to: 666-666


Comment @coderabbitai help to get the list of available commands and usage tips.

@alexcarpenter
Copy link
Member Author

!snapshot

@clerk-cookie
Copy link
Collaborator

Hey @alexcarpenter - the snapshot version command generated the following package versions:

Package Version
@clerk/agent-toolkit 0.1.45-snapshot.v20251031161044
@clerk/astro 2.14.3-snapshot.v20251031161044
@clerk/backend 2.19.2-snapshot.v20251031161044
@clerk/chrome-extension 2.7.11-snapshot.v20251031161044
@clerk/clerk-js 5.103.2-snapshot.v20251031161044
@clerk/elements 0.23.76-snapshot.v20251031161044
@clerk/clerk-expo 2.17.4-snapshot.v20251031161044
@clerk/expo-passkeys 0.4.13-snapshot.v20251031161044
@clerk/express 1.7.44-snapshot.v20251031161044
@clerk/fastify 2.5.1-snapshot.v20251031161044
@clerk/localizations 3.26.5-snapshot.v20251031161044
@clerk/nextjs 6.34.2-snapshot.v20251031161044
@clerk/nuxt 1.11.3-snapshot.v20251031161044
@clerk/clerk-react 5.53.5-snapshot.v20251031161044
@clerk/react-router 2.1.7-snapshot.v20251031161044
@clerk/remix 4.13.10-snapshot.v20251031161044
@clerk/shared 3.30.0-snapshot.v20251031161044
@clerk/tanstack-react-start 0.26.6-snapshot.v20251031161044
@clerk/testing 1.13.10-snapshot.v20251031161044
@clerk/themes 2.4.31-snapshot.v20251031161044
@clerk/types 4.97.0-snapshot.v20251031161044
@clerk/vue 1.14.10-snapshot.v20251031161044

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/agent-toolkit

npm i @clerk/agent-toolkit@0.1.45-snapshot.v20251031161044 --save-exact

@clerk/astro

npm i @clerk/astro@2.14.3-snapshot.v20251031161044 --save-exact

@clerk/backend

npm i @clerk/backend@2.19.2-snapshot.v20251031161044 --save-exact

@clerk/chrome-extension

npm i @clerk/chrome-extension@2.7.11-snapshot.v20251031161044 --save-exact

@clerk/clerk-js

npm i @clerk/clerk-js@5.103.2-snapshot.v20251031161044 --save-exact

@clerk/elements

npm i @clerk/elements@0.23.76-snapshot.v20251031161044 --save-exact

@clerk/clerk-expo

npm i @clerk/clerk-expo@2.17.4-snapshot.v20251031161044 --save-exact

@clerk/expo-passkeys

npm i @clerk/expo-passkeys@0.4.13-snapshot.v20251031161044 --save-exact

@clerk/express

npm i @clerk/express@1.7.44-snapshot.v20251031161044 --save-exact

@clerk/fastify

npm i @clerk/fastify@2.5.1-snapshot.v20251031161044 --save-exact

@clerk/localizations

npm i @clerk/localizations@3.26.5-snapshot.v20251031161044 --save-exact

@clerk/nextjs

npm i @clerk/nextjs@6.34.2-snapshot.v20251031161044 --save-exact

@clerk/nuxt

npm i @clerk/nuxt@1.11.3-snapshot.v20251031161044 --save-exact

@clerk/clerk-react

npm i @clerk/clerk-react@5.53.5-snapshot.v20251031161044 --save-exact

@clerk/react-router

npm i @clerk/react-router@2.1.7-snapshot.v20251031161044 --save-exact

@clerk/remix

npm i @clerk/remix@4.13.10-snapshot.v20251031161044 --save-exact

@clerk/shared

npm i @clerk/shared@3.30.0-snapshot.v20251031161044 --save-exact

@clerk/tanstack-react-start

npm i @clerk/tanstack-react-start@0.26.6-snapshot.v20251031161044 --save-exact

@clerk/testing

npm i @clerk/testing@1.13.10-snapshot.v20251031161044 --save-exact

@clerk/themes

npm i @clerk/themes@2.4.31-snapshot.v20251031161044 --save-exact

@clerk/types

npm i @clerk/types@4.97.0-snapshot.v20251031161044 --save-exact

@clerk/vue

npm i @clerk/vue@1.14.10-snapshot.v20251031161044 --save-exact

Copy link

@Ephem Ephem left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for fixing this!

Comment on lines +239 to +241
// Verify there's a screen-reader-only aria-live region with the error content
const ariaLiveRegions = container.querySelectorAll('[aria-live="polite"]');
expect(ariaLiveRegions.length).toBeGreaterThanOrEqual(1);
Copy link

Choose a reason for hiding this comment

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

NIT: If I understood the bug correctly, the announcement did not work because aria-live only announces changes to the DOM element, so maybe this test should also assert that this element is already in the DOM without errors before the set error?

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx (2)

235-248: Pre-state validation addresses past feedback, but consider stricter assertions.

The pre-state validation correctly addresses the previous review comment about verifying the aria-live region exists before content changes. This ensures the region can announce updates properly.

However, line 237 uses toBeGreaterThanOrEqual(1), which is lenient. If the implementation accidentally creates multiple aria-live regions, this test would still pass. Consider whether you should assert an exact count to catch regressions.

-    expect(preRegions.length).toBeGreaterThanOrEqual(1);
+    expect(preRegions.length).toBe(1);

254-282: Consider strengthening assertions for completeness.

The test correctly validates the screen-reader-only live region updates, but could be more comprehensive:

  1. Reuse pre-state region: Lines 259-262 re-query for the screen-reader-only region. Consider reusing preSrOnly from the pre-state validation (lines 238-242) to ensure you're testing the same element throughout.

  2. Verify aria-describedby transitions: The test validates the live region content but doesn't check that the input's aria-describedby attribute correctly transitions from error-firstname to firstname-success-feedback. This is covered in other tests, but including it here would make this test more self-contained.

  3. Same leniency issue: Line 256 uses toBeGreaterThanOrEqual(1) which could mask duplicate regions.

-    const ariaLiveRegions = container.querySelectorAll('[aria-live="polite"]');
-    expect(ariaLiveRegions.length).toBeGreaterThanOrEqual(1);
-
-    // Find the screen reader only region (it will have the visually hidden styles)
-    const srOnlyRegion = Array.from(ariaLiveRegions).find(el => {
-      const style = window.getComputedStyle(el);
-      return style.position === 'absolute' && style.width === '1px';
-    });
-    expect(srOnlyRegion).toBeDefined();
+    // Reuse the pre-state region to ensure consistency
+    expect(preSrOnly).toBeDefined();
+    const srOnlyRegion = preSrOnly!;
     expect(srOnlyRegion).toHaveTextContent(/Some Error/i);
+    
+    // Verify input aria-describedby references the error
+    expect(inputEl).toHaveAttribute('aria-describedby', 'error-firstname');
+    expect(inputEl).toHaveAttribute('aria-invalid', 'true');

And after the success transition:

     // Verify the screen reader only region updated its content
     expect(srOnlyRegion).toHaveTextContent(/Some Success/i);
+    
+    // Verify input aria-describedby references the success feedback
+    expect(inputEl).toHaveAttribute('aria-describedby', 'firstname-success-feedback');
+    expect(inputEl).toHaveAttribute('aria-invalid', 'false');
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between ab795fb and b3ea687.

📒 Files selected for processing (1)
  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx (6 hunks)
🧰 Additional context used
📓 Path-based instructions (13)
packages/clerk-js/src/ui/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/clerk-js-ui.mdc)

packages/clerk-js/src/ui/**/*.{ts,tsx}: Element descriptors should always be camelCase
Use element descriptors in UI components to enable consistent theming and styling via appearance.elements
Element descriptors should generate unique, stable CSS classes for theming
Element descriptors should handle state classes (e.g., cl-loading, cl-active, cl-error, cl-open) automatically based on component state
Do not render hard-coded values; all user-facing strings must be localized using provided localization methods
Use the useLocalizations hook and localizationKeys utility for all text and error messages
Use the styled system (sx prop, theme tokens, responsive values) for custom component styling
Use useCardState for card-level state, useFormState for form-level state, and useLoadingStatus for loading states
Always use handleError utility for API errors and use translateError for localized error messages
Use useFormControl for form field state, implement proper validation, and handle loading and error states in forms
Use localization keys for all form labels and placeholders
Use element descriptors for consistent styling and follow the theme token system
Use the Card and FormContainer patterns for consistent UI structure

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{js,jsx,ts,tsx}: All code must pass ESLint checks with the project's configuration
Follow established naming conventions (PascalCase for components, camelCase for variables)
Maintain comprehensive JSDoc comments for public APIs
Use dynamic imports for optional features
All public APIs must be documented with JSDoc
Provide meaningful error messages to developers
Include error recovery suggestions where applicable
Log errors appropriately for debugging
Lazy load components and features when possible
Implement proper caching strategies
Use efficient data structures and algorithms
Profile and optimize critical paths
Validate all inputs and sanitize outputs
Implement proper logging with different levels

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use Prettier for consistent code formatting

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
packages/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

TypeScript is required for all packages

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
packages/**/*.{ts,tsx,d.ts}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Packages should export TypeScript types alongside runtime code

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

Use proper TypeScript error types

**/*.{ts,tsx}: Always define explicit return types for functions, especially public APIs
Use proper type annotations for variables and parameters where inference isn't clear
Avoid any type - prefer unknown when type is uncertain, then narrow with type guards
Use interface for object shapes that might be extended
Use type for unions, primitives, and computed types
Prefer readonly properties for immutable data structures
Use private for internal implementation details
Use protected for inheritance hierarchies
Use public explicitly for clarity in public APIs
Prefer readonly for properties that shouldn't change after construction
Prefer composition and interfaces over deep inheritance chains
Use mixins for shared behavior across unrelated classes
Implement dependency injection for loose coupling
Let TypeScript infer when types are obvious
Use const assertions for literal types: as const
Use satisfies operator for type checking without widening
Use mapped types for transforming object types
Use conditional types for type-level logic
Leverage template literal types for string manipulation
Use ES6 imports/exports consistently
Use default exports sparingly, prefer named exports
Use type-only imports: import type { ... } from ...
No any types without justification
Proper error handling with typed errors
Consistent use of readonly for immutable data
Proper generic constraints
No unused type parameters
Proper use of utility types instead of manual type construction
Type-only imports where possible
Proper tree-shaking friendly exports
No circular dependencies
Efficient type computations (avoid deep recursion)

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/development.mdc)

**/*.{jsx,tsx}: Use error boundaries in React components
Minimize re-renders in React components

**/*.{jsx,tsx}: Always use functional components with hooks instead of class components
Follow PascalCase naming for components: UserProfile, NavigationMenu
Keep components focused on a single responsibility - split large components
Limit component size to 150-200 lines; extract logic into custom hooks
Use composition over inheritance - prefer smaller, composable components
Export components as named exports for better tree-shaking
One component per file with matching filename and component name
Use useState for simple state management
Use useReducer for complex state logic
Implement proper state initialization
Use proper state updates with callbacks
Implement proper state cleanup
Use Context API for theme/authentication
Implement proper state selectors
Use proper state normalization
Implement proper state persistence
Use React.memo for expensive components
Implement proper useCallback for handlers
Use proper useMemo for expensive computations
Implement proper virtualization for lists
Use proper code splitting with React.lazy
Implement proper cleanup in useEffect
Use proper refs for DOM access
Implement proper event listener cleanup
Use proper abort controllers for fetch
Implement proper subscription cleanup
Use proper HTML elements
Implement proper ARIA attributes
Use proper heading hierarchy
Implement proper form labels
Use proper button types
Implement proper focus management
Use proper keyboard shortcuts
Implement proper tab order
Use proper skip links
Implement proper focus traps
Implement proper error boundaries
Use proper error logging
Implement proper error recovery
Use proper error messages
Implement proper error fallbacks
Use proper form validation
Implement proper error states
Use proper error messages
Implement proper form submission
Use proper form reset
Use proper component naming
Implement proper file naming
Use proper prop naming
Implement proper...

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
packages/**/*.{test,spec}.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Unit tests should use Jest or Vitest as the test runner.

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
packages/{clerk-js,elements,themes}/**/*.{test,spec}.{js,jsx,ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Visual regression testing should be performed for UI components.

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.{js,ts,tsx,jsx}

📄 CodeRabbit inference engine (.cursor/rules/monorepo.mdc)

Support multiple Clerk environment variables (CLERK_, NEXT_PUBLIC_CLERK_, etc.) for configuration.

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.tsx

📄 CodeRabbit inference engine (.cursor/rules/react.mdc)

**/*.tsx: Use proper type definitions for props and state
Leverage TypeScript's type inference where possible
Use proper event types for handlers
Implement proper generic types for reusable components
Use proper type guards for conditional rendering

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/*.test.{jsx,tsx}

📄 CodeRabbit inference engine (.cursor/rules/react.mdc)

**/*.test.{jsx,tsx}: Use React Testing Library
Test component behavior, not implementation
Use proper test queries
Implement proper test isolation
Use proper test coverage
Test component interactions
Use proper test data
Implement proper test setup
Use proper test cleanup
Implement proper test assertions
Use proper test structure

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
**/__tests__/**/*.{ts,tsx}

📄 CodeRabbit inference engine (.cursor/rules/typescript.mdc)

**/__tests__/**/*.{ts,tsx}: Create type-safe test builders/factories
Use branded types for test isolation
Implement proper mock types that match interfaces

Files:

  • packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Formatting | Dedupe | Changeset
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: semgrep-cloud-platform/scan
🔇 Additional comments (2)
packages/clerk-js/src/ui/elements/__tests__/PlainInput.test.tsx (2)

142-142: LGTM! Precise ID-based selectors improve test reliability.

The updated selectors now target specific IDs (#error-firstname, #firstname-info-feedback, #firstname-success-feedback) which align with the accessibility improvements in the PR. These precise selectors reduce brittleness and ensure tests verify the correct ARIA-described elements.

Also applies to: 166-166, 181-181, 205-205, 213-213, 252-252, 268-268


225-225: LGTM! More descriptive test name.

The renamed test case better describes the accessibility implementation: a visually hidden live region that announces feedback changes to screen readers in real time.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 4, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7111

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7111

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7111

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7111

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7111

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7111

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@7111

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@7111

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7111

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7111

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7111

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7111

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7111

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7111

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@7111

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7111

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@7111

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7111

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7111

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7111

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@7111

@clerk/types

npm i https://pkg.pr.new/@clerk/types@7111

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7111

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7111

commit: b3415aa

@blacksmith-sh
Copy link

blacksmith-sh bot commented Nov 4, 2025

Found 84 test failures on Blacksmith runners:

Test View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-identifier" class="cl-formFieldErrorText cl-formFieldErrorText__identifier
🔒️ cl-internal-10dnlbh">…</p> aka locator('#error-identifier')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<p id="error-password" class="cl-formFieldErrorText cl-formFieldErrorText__password 🔒️
cl-internal-10dnlbh">…</p> aka locator('#error-password')
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Couldn't find your account.</span> aka locator('span').filter(*** hasText: 'Couldn</code>
't find your account.' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
<span aria-live="polite" aria-atomic="true" class="cl-internal-5ur8x">
Password is incorrect. Try again, or use another …</span>
aka locator('span').filter(*** hasText: 'Password is incorrect. Try' ***)
View Logs
[chrome] › integration/tests/
dynamic-keys.test.ts:92:7 › dynamic keys @nextjs › calls clerkClient with dynamic key
s from middleware runtime
View Logs
[chrome] › integration/tests/
dynamic-keys.test.ts:92:7 › dynamic keys @nextjs › calls clerkClient with dynamic key
s from middleware runtime
View Logs
[chrome] › integration/tests/
dynamic-keys.test.ts:92:7 › dynamic keys @nextjs › calls clerkClient with dynamic key
s from middleware runtime
View Logs
[chrome] › integration/tests/
oauth-flows.test.ts:72:7 › oauth flows @nextjs › long-running--next.appRouter.withEmail
Codes › sign in modal
View Logs
[chrome] › integration/tests/
session-tasks-multi-session.test.ts:33:9 › session tasks multi-session flow @nextjs › l
ong-running--next.appRouter.withSessionTasks › when switching sessions, navigate to tas
k
View Logs
[chrome] › integration/tests/
session-tasks-sign-up.test.ts:79:9 › session tasks after sign-up flow @nextjs › long-ru
nning--next.appRouter.withSessionTasks › with sso, navigate to task on after sign-up
View Logs
[chrome] › integration/tests/
sign-in-or-up-flow.test.ts:137:9 › sign-in-or-up flow @nextjs › long-running--next.appR
outer.withSignInOrUpFlow › sign-in › cannot sign in with wrong password
View Logs
[chrome] › integration/tests/
sign-in-or-up-flow.test.ts:137:9 › sign-in-or-up flow @nextjs › long-running--next.appR
outer.withSignInOrUpFlow › sign-in › cannot sign in with wrong password
View Logs
[chrome] › integration/tests/
sign-in-or-up-flow.test.ts:137:9 › sign-in-or-up flow @nextjs › long-running--next.appR
outer.withSignInOrUpFlow › sign-in › cannot sign in with wrong password
View Logs
[chrome] › integration/tests/
sign-in-or-up-restricted-mode.test.ts:29:7 › sign-in-or-up restricted mode @nextjs › It
does not allow sign-in-or-up flow
View Logs
[chrome] › integration/tests/
sign-in-or-up-restricted-mode.test.ts:29:7 › sign-in-or-up restricted mode @nextjs › It
does not allow sign-in-or-up flow
View Logs
[chrome] › integration/tests/
sign-in-or-up-restricted-mode.test.ts:29:7 › sign-in-or-up restricted mode @nextjs › It
does not allow sign-in-or-up flow
View Logs


Fix in Cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants