Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@
## 2026-04-11 - Prevent unreadable hardcoded text sizing
**Learning:** Hardcoding `android:textSize="12sp"` directly on Android TextView elements creates an accessibility barrier for users with poor vision and ignores system-level font scaling preferences, particularly for dynamic data fields like bitrate readouts.
**Action:** Remove overly restrictive `android:textSize` attributes from informational UI elements, allowing them to inherit accessible default text sizes from the application theme.

## 2026-04-14 - Descriptive Labels for Brief/Destructive Actions
**Learning:** Brief or destructive action buttons (like 'STOP') may lack context for screen reader users and sighted users hovering with a mouse, especially when the visual label is short.
**Action:** Enhance brief or destructive buttons with `android:contentDescription` and `android:tooltipText` that explicitly describe their full outcome (e.g., 'Stop camera server') to provide clear context across input modalities.
4 changes: 3 additions & 1 deletion app/src/main/res/layout/fragment_camera.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
android:layout_height="wrap_content"
android:layout_gravity="end|fill_vertical"
android:includeFontPadding="false"
android:text="@string/stop_button" />
android:text="@string/stop_button"
android:contentDescription="@string/stop_button_desc"
android:tooltipText="@string/stop_button_desc" />
</LinearLayout>

</TableRow>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<!-- Camera Fragment Strings -->
<string name="app_title">RemoteCam</string>
<string name="stop_button">STOP</string>
<string name="stop_button_desc">Stop camera server</string>
<string name="preview_label">Preview</string>
<string name="stream_label">Stream</string>
<string name="rtsp_label">RTSP</string>
Expand Down