Repository navigation
fix: raise typography, touch, and focus accessibility floors - #87
Conversation
Audit 2026-07-20 remediation (vs silo-apple Continuum, jellyfin-androidtv, Wholphin, findroid benchmarks): TV: retire the 'half scale +1' sizes — 14sp floor for chips/captions/ metadata, 16sp body (detail hero, focus marquee, episode rail, settings, calendar, selectors, browse controls, dialogs, cards); SiloSecondaryText alpha 0.60->0.75; focus glow 0.08->0.28 and scales 1.06/1.10; 'See all' gets siloFocus grammar; vertical overscan token applied at screen bottom edges; fixed containers enlarged where bigger text needed room. Phone: 48dp touch targets (episode download 36dp, player/audiobook controls 44dp, A-Z scrubber rail); sub-11sp text raised (8-10sp badges, calendar, poster overlays); detail metadata 12sp at >=0.7 alpha; player overlay text brightened; surgical contentDescription additions. Co-Authored-By: Claude Fable 5 <[email protected]>
The readability remediation intentionally replaced the half-scale tvOS typography with a readable floor (14sp captions/chips/eyebrows, 16sp body). Update the 14 source-shape guardrail tests to assert the new contract instead of the old half-scale values, rename the half-scale test methods, and drop TvTypographyReadabilityTest's tiny-text allowlist entirely — the tree now complies allowlist-free (forbid 9-13sp, 14sp is the floor). No production source changed; zero sub-14sp stragglers found. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Warning Review limit reached
Next review available in: 37 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughChangesAndroid UI sizing and accessibility
TV readability and interaction
Estimated code review effort: 3 (Moderate) | ~30 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 8
🧹 Nitpick comments (2)
androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnchoredSelectorMenu.kt (1)
140-145: 🎯 Functional Correctness | 🔵 Trivial | 🏗️ Heavy liftPrefer a TV-styled anchored popup here.
DropdownMenuis usable with d-pad, but it still reads as the phone Material3 menu and misses the TV focus chrome used elsewhere in this UI.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnchoredSelectorMenu.kt` around lines 140 - 145, Replace the phone Material3 DropdownMenu implementation in the anchored selector menu with a TV-styled anchored popup that matches the module’s established focus chrome, including scale and border treatment. Preserve the existing d-pad navigation, item selection, and anchored positioning behavior while removing the deferred-limitation implementation.androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.kt (1)
1230-1240: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winKeep the placeholder and live selector geometry in sync.
The nearby contract comment still specifies a 13dp glyph and 12sp value, while this placeholder now uses 15dp and 14sp. If
TvAnchoredSelectorMenuretains the documented values, the placeholder will visibly differ; update both surfaces or update the shared geometry contract.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.kt` around lines 1230 - 1240, Synchronize the placeholder geometry in the detail screen with the documented geometry used by TvAnchoredSelectorMenu: align the icon size and text font size with the shared contract, or update the contract and live selector together if the new dimensions are intentional. Ensure both placeholder and live selector render matching glyph and value sizing.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/audiobook/AudiobookTransport.kt`:
- Line 65: Update the transport layout containing the 48.dp chapter button sizes
and spacing so it responds to narrow available widths. In the relevant
AudiobookTransport composable, reduce gaps and/or button dimensions based on
available space or provide safe scrolling/wrapping, while preserving both
chapter buttons and ensuring the controls remain reachable within
AudiobookPlayerScreen’s padded width.
In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/browse/CatalogGrid.kt`:
- Around line 159-166: Update the alphabet rail in LazyColumn and its per-letter
clickable Box so each letter uses a larger touch target rather than the current
40×24dp region. Keep the rail scrollable to accommodate all 27 letters on phone
screens, and adjust the catalog inset or surrounding layout as needed to fit the
enlarged hit regions.
In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerControls.kt`:
- Around line 260-263: Make the portrait player top bar responsive in the
PlayerControls layout before applying the 48.dp IconButton size: prevent fixed
chapter/version and other optional actions from overflowing on narrow screens by
moving them into an overflow or secondary row, while preserving access to the
actions and leaving the title visible.
In
`@androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerProgressBar.kt`:
- Around line 108-114: Update the chapter title Text in the scrub preview to
constrain its width to the intended 160dp window and apply ellipsis when the
title exceeds that width. Preserve the existing single-line, centered styling
and position clamp behavior.
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvPinEntryDialog.kt`:
- Around line 171-175: Update the clickable Cancel surface in TvPinEntryDialog
around the “Cancel” Text to enforce a minimum 48.dp focus target, using heightIn
or equivalent sizing/padding on the clickable container rather than only the
text. Preserve the existing label styling and behavior.
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminHubScreen.kt`:
- Around line 79-86: Remove the redundant trailing spacer from each admin list
so the new bottom content padding provides only one safe-area gap. Apply this in
TvAdminHubScreen.kt (79-86), TvAdminScansScreen.kt (81-88),
TvAdminSessionsScreen.kt (221-228), and TvAdminUsersScreen.kt (100-107),
preserving the existing contentPadding and list behavior.
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailEpisodeRail.kt`:
- Around line 358-373: In the episode overview Text within TvDetailEpisodeRail,
replace the fixed height modifier with heightIn(min = 60.dp). Preserve the 60dp
minimum reserved space and allow the synopsis to expand for larger user font
scales without clipping.
In
`@androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvTypographyReadabilityTest.kt`:
- Around line 38-47: Update the tinyFontPattern in
TvTypographyReadabilityTest.kt (lines 38-47) to match every numeric fontSize
literal below 14sp, including fractional values such as 13.5sp and values below
9sp; apply the same matcher to the Type.kt validation at lines 15-22 so both
checks enforce the 14sp floor consistently.
---
Nitpick comments:
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnchoredSelectorMenu.kt`:
- Around line 140-145: Replace the phone Material3 DropdownMenu implementation
in the anchored selector menu with a TV-styled anchored popup that matches the
module’s established focus chrome, including scale and border treatment.
Preserve the existing d-pad navigation, item selection, and anchored positioning
behavior while removing the deferred-limitation implementation.
In
`@androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.kt`:
- Around line 1230-1240: Synchronize the placeholder geometry in the detail
screen with the documented geometry used by TvAnchoredSelectorMenu: align the
icon size and text font size with the shared contract, or update the contract
and live selector together if the new dimensions are intentional. Ensure both
placeholder and live selector render matching glyph and value sizing.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 5a8b4cbb-bcd6-42f0-a297-0ec1639cd858
📒 Files selected for processing (58)
android-shared/src/androidMain/kotlin/org/siloserver/silo/common/overlays/OverlayPresetStyle.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/audiobook/AudiobookPlayerScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/audiobook/AudiobookTransport.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/browse/CatalogGrid.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/calendar/CalendarScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/cast/SiloCastRemoteScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/collections/CollectionsScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/collections/LibraryCollectionsScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/CastCrewSection.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/DetailSharedComponents.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/EpisodeList.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/detail/MediaSelectors.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/libraries/LibrariesScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/people/PersonDetailScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerControls.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerGestureHandler.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerNextUpScreen.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerOverlay.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerProgressBar.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/SubtitleSearchSheet.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvAnchoredSelectorMenu.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvCascadeSelector.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvEpisodeCard.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvFocusMarquee.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvFullScreenPicker.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvMediaCard.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvMediaCardActions.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvOptionDialog.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvPinEntryDialog.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvSectionHeader.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminHubScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminScansScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminSessionsScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminUsersScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/calendar/TvCalendarScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvCastCrewSection.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailEpisodeRail.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailFactsTable.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailHero.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailSectionHeader.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvItemDetailScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvMediaInfoDialog.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/library/TvLibraryBrowseControls.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/people/TvPersonDetailScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvHoldSeekIndicator.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileForm.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/recommendations/TvRecommendationsScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/search/TvSearchScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/settings/TvSettingsScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/shell/TvTopMenuBar.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/theme/Color.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/theme/FocusModifier.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/theme/Spacing.ktandroidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/screens/settings/TvSettingsUsabilityTest.ktandroidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/shell/TvCascadeInteractionSourceTest.ktandroidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvDialogScalingTest.ktandroidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvSkylineTokenParityTest.ktandroidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvTypographyReadabilityTest.kt
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/superpowers/plans/2026-07-22-android-accessibility-review-fixes.md`:
- Around line 535-546: Update Step 3 to explicitly provide the replacement regex
for tinyFontPattern, ensuring it matches fractional as well as integer fontSize
literals, including values such as 0.5.sp and 13.5.sp. Replace the incorrect
reference to the Step 1 matcher while preserving use of the shared class
property for both scans.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 87f4f7c7-d438-4771-8cdd-1d7e4354c800
📒 Files selected for processing (15)
androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/layout/ResponsiveControlLayout.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/audiobook/AudiobookTransport.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/browse/CatalogGrid.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerControls.ktandroidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerProgressBar.ktandroidApp/src/androidUnitTest/kotlin/org/siloserver/silo/android/ui/layout/ResponsiveControlLayoutTest.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvPinEntryDialog.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminHubScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminScansScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminSessionsScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminUsersScreen.ktandroidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailEpisodeRail.ktandroidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvTypographyReadabilityTest.ktdocs/superpowers/plans/2026-07-22-android-accessibility-review-fixes.mddocs/superpowers/specs/2026-07-22-android-accessibility-review-fixes-design.md
💤 Files with no reviewable changes (4)
- androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminUsersScreen.kt
- androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminHubScreen.kt
- androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminScansScreen.kt
- androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/admin/TvAdminSessionsScreen.kt
🚧 Files skipped from review as they are similar to previous changes (5)
- androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/player/PlayerProgressBar.kt
- androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/components/TvPinEntryDialog.kt
- androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/detail/TvDetailEpisodeRail.kt
- androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/browse/CatalogGrid.kt
- androidTvApp/src/androidUnitTest/kotlin/org/siloserver/silo/tv/ui/theme/TvTypographyReadabilityTest.kt
Stack
Summary
Scope
This replacement intentionally excludes all observability, Sentry, and GlitchTip work.
Verification
Summary by CodeRabbit
Accessibility
UI Improvements