Skip to content

fix(html5): accessible colours for the connection and timer indicators - #26312

Merged
antobinary merged 3 commits into
bigbluebutton:v4.0.x-developfrom
AtilaU19:up-toolbar-colors
Nov 12, 2026
Merged

antobinary merged 3 commits into
bigbluebutton:v4.0.x-developfrom
AtilaU19:up-toolbar-colors

Conversation

@AtilaU19

@AtilaU19 AtilaU19 commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes the colours of the top-right status indicators so they meet WCAG AA contrast and no longer look like the leave button.

In detail:

The leave button is unchanged.

Closes Issue(s)

None.

How to test

  1. Join a meeting as a moderator.
  2. Connection indicator: in DevTools, throttle the network (or delay /rtt-check responses) to move through the levels. Expect green with four white bars, then green with three, then yellow with dark bars and two full bars, then red with one full bar.
  3. Open the indicator: the status circle shows the same colours.
  4. Timer: open the Timer panel. The indicator is dark grey; start it and it turns blue.
  5. Repeat 2–4 with dark mode on (Settings → Dark mode). Dark mode on 4.0 is DarkReader, which repaints these colours itself; check that the indicators stay readable.
  6. Poll: paste more custom options than allowed. The warning text is readable on the panel.

E2E, run locally on the LiveKit bridge on v4.1.x-develop (before this PR was moved to 4.0) and before the four-bar follow-up, all green: connectionStatus/connectionStatus.spec.ts (5 tests) and
user/user.spec.ts Stopwatch, Timer and "Timer countdown for the attendee".

Screenshots

Connection: good
image

Connection: unstable
image

Connection: critical
image

Timer: stopped
image

Timer: running
image

Changelog

Technical — Real default for colorWarning, dark text on warning surfaces, new connection indicator and timer colours, with --connection-status-good-bg, --timer-stopped-bg,
--timer-running-bg and --notice-warning-text to theme them.

User-facing — The connection indicator is green, yellow or red by connection quality, and the timer turns grey when stopped and blue while running, so it no longer looks like the leave button.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The palette changes warning colors and adds tokens for warning text, good connection status, and running and stopped timers. Connection-status, poll, and timer styles use the updated tokens. Grayscale signal bars use currentColor, and warning status icons use btnWarningColor.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: tainan404, ramonlsouza, guiibecker

Merge Risk: Minimal · up to 5b69f

This PR only changes colour tokens and their use in the connection and timer indicators and warning styles. No concrete defect was found, so it looks safe to merge. A quick visual check of the connection-status modal's yellow signal bars on its background is still worthwhile.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: accessible colours for the connection status and timer indicators, which the changeset implements through new palette defaults, status-level colouring, and timer colou…
Description check Passed The description states the purpose (WCAG AA contrast for the top-right status indicators) and lists the changes in detail: warning colour default, connection indicator levels, timer colours, and the p…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: accessible colours for the connection status and timer indicators, which the changeset implements through new palette defaults, status-level colouring, and timer colours. The 'fix(html5)' prefix is a conventional-commit style that a teammate scanning history can read. The title does not mention the warning colour default or poll text change, but those are secondary aspects.

Full details: Description check

Explanation

The description states the purpose (WCAG AA contrast for the top-right status indicators) and lists the changes in detail: warning colour default, connection indicator levels, timer colours, and the poll warning token. It also gives test steps and screenshots. This matches the changeset closely.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 975bd736-3268-4653-92e2-57560648ba00
Commits

Reviewing files that changed from the base of the PR and between 959a807 and 5b69f77.

Files selected for processing: 6

  • bigbluebutton-html5/imports/ui/components/connection-status/button/styles.js
  • bigbluebutton-html5/imports/ui/components/connection-status/icon/styles.js
  • bigbluebutton-html5/imports/ui/components/connection-status/status-helper/styles.js
  • bigbluebutton-html5/imports/ui/components/poll/styles.ts
  • bigbluebutton-html5/imports/ui/components/timer/indicator/styles.ts
  • bigbluebutton-html5/imports/ui/stylesheets/styled-components/palette.js

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@antobinary antobinary added this to the Release 4.1 milestone Oct 29, 2026
@AtilaU19
AtilaU19 requested a review from Arthurk12 November 9, 2026 18:29
colorWarning fell back to `purple`. Default it to #FFC845 and draw
warning buttons and toasts with #393C48, since white on that yellow is
1.54:1. The poll's custom-input warning moves to noticeWarningText,
which stays readable on the light panel.
Use the design-system colours: good #0F9821, unstable #FFC845 with a
dark icon, critical in the danger red. The navbar button and the
modal's status circle match.
A stopped timer was red, next to the red leave button. Draw it #393C48
when stopped and #1D65D4 while running.
@AtilaU19
AtilaU19 changed the base branch from v4.1.x-develop to v4.0.x-develop November 12, 2026 14:23
@github-actions

Copy link
Copy Markdown

⏳ Automated tests are running...

@prlanzarin
prlanzarin requested a review from Arthurk12 November 12, 2026 14:46
@prlanzarin prlanzarin modified the milestones: Release 4.1, Release 4.0 Nov 12, 2026
@antobinary
antobinary merged commit 789bf13 into bigbluebutton:v4.0.x-develop Nov 12, 2026
37 of 39 checks passed
antobinary pushed a commit that referenced this pull request Nov 21, 2026
Forward-merge of v4.0.x-develop at 112214e into v4.1.x-develop at
1635133. Merge base 28d54de (#26257, merged in #26442).

Resolutions:
- profile-settings/component.tsx: combined. 4.1's PreviewStatus replaced
  the inline containerStyle, so it stays out; 4.0's isCamLocked return and
  "Enable webcam" placeholder (#26213) go before 4.1's CameraPreview.
- profile-settings/styles.ts: 4.1's palette imports plus colorOffWhite,
  which 4.0's placeholder uses.
- recording/styles.js: 4.1's colorTextEmphasis with 4.0's
  confirmationButtonFloor (#26314).
- request-unmute-modal/styles.js: stays deleted, as on 4.1. 4.1's shared
  media-consent-modal (f75c010) replaced the RequestModalContent row
  that 4.0's min-width and narrow-phone change (#26314) styles.
- settings/container.jsx: combined. 4.0's pagination source and
  useIsPaginationToggleAllowed (#26468) in 4.1's useSettingsProps, and
  paginationToggleLocked in its returned props, so the pre-flight
  settings modal gets it too.
- settings/submenus/application/styles.js: 4.0's. The language selector
  is now a BBBSelect (#26389), so the native select rule 4.1 recoloured
  has no target.
- video-preview/hooks/types.ts, useVideoPreview.ts: combined. Both sides'
  options (skipPreview, deferInitialization; waitForCameraPermission). 4.0
  moved the mount-time camera opening from the cameraDisabled effect into
  startPreview, called on mount, and the effect now reopens only a
  started preview. 4.1's deferInitialization check moves with it, from the
  effect into startPreview, so pre-flight still opens no camera until the
  user enables it.
- palette.js: combined. 4.0's colorWarning #FFC845 and btnWarningColor
  #393C48 (#26312) and its new status tokens; 4.1's notice, scrim and
  *ColorSurface tokens.
- locales de, eu, it_IT: 4.1's, as in #26011, #26198, #26346 and #26442.
  en.json: both sides' strings; a key-level three-way check matches.
- playwright core/helpers.ts: 4.0's override-aware create defaults
  (#26359) with 4.1's encoded name and meetingID.
- bigbluebutton.properties, docs/data/create.tsx: both disabledFeatures
  entries, layoutView (4.1) and lockSettings (4.0).
- docs configuration-files.md, release-testing.md: still CRLF on 4.0 and
  LF on 4.1; merged with line endings normalised. 4.1's
  bbb-export-annotations override row stays (4.1 ships the override);
  4.0's other override rows and nginx text, with the 4.1 source link; the
  new unmute case with its spec link on v4.1.x-develop.
- docs customize.md: 4.0's locale override steps, downloading from
  v4.1.x-release.
- docs new-features.md: 4.1's file, unchanged.
- bbb-shared-notes-server/run-in-systemd.sh: kept, as on 4.1. 4.0 deleted
  it (#26464), but 4.1's image (bbb-shared-notes-server/Dockerfile)
  still copies it. The follow-up "build(docker): stop copying the removed
  run-in-systemd.sh into the shared-notes image" removes both.

This merge does not pass the Playwright type check alone:
bigbluebutton-tests/playwright/core/elements.ts merged without a conflict
but declares layoutContainer twice, since both lines added it (4.1 in
c5c2c71, 4.0 in ad12223). The next commit, "test(playwright):
declare the layoutContainer selector once", drops 4.1's copy. The packages
build, and Playwright's own transpiler runs the suite as is.

# Conflicts:
#	bigbluebutton-html5/imports/ui/components/profile-settings/component.tsx
#	bigbluebutton-html5/imports/ui/components/profile-settings/styles.ts
#	bigbluebutton-html5/imports/ui/components/recording/styles.js
#	bigbluebutton-html5/imports/ui/components/request-unmute-modal/styles.js
#	bigbluebutton-html5/imports/ui/components/settings/container.jsx
#	bigbluebutton-html5/imports/ui/components/settings/submenus/application/styles.js
#	bigbluebutton-html5/imports/ui/components/video-preview/hooks/types.ts
#	bigbluebutton-html5/imports/ui/components/video-preview/hooks/useVideoPreview.ts
#	bigbluebutton-html5/imports/ui/stylesheets/styled-components/palette.js
#	bigbluebutton-html5/public/locales/de.json
#	bigbluebutton-html5/public/locales/en.json
#	bigbluebutton-html5/public/locales/eu.json
#	bigbluebutton-html5/public/locales/it_IT.json
#	bigbluebutton-tests/playwright/core/helpers.ts
#	bigbluebutton-web/grails-app/conf/bigbluebutton.properties
#	docs/docs/administration/configuration-files.md
#	docs/docs/administration/customize.md
#	docs/docs/data/create.tsx
#	docs/docs/new-features.md
#	docs/docs/testing/release-testing.md
antobinary pushed a commit that referenced this pull request Nov 21, 2026
4.0 gave colorWarning a real value, #FFC845, and moved the text on it
from white to #393C48 for warning buttons (btnWarningColor) and toasts
(toastWarningColor), since white on that yellow is 1.54:1 (dba80f1,
#26312). The connection status icons draw the button pair for an
unstable connection (12ab207). The dark theme leaves --color-warning
to the brand, so the yellow stays, but it set --btn-warning-color and
--toast-warning-color to #FFFFFF, its parity values for the old white
text: after the merge of v4.0.x-develop, warning buttons, the warning
toast icon and the unstable connection icon were white on yellow again.
Use the light theme's #393C48, 7.11:1 on the yellow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants