Skip to content

Web push activity notifications have low contrast when using dark mode on desktop #58695

@salmart-dev

Description

@salmart-dev

Summary

The notifications a user receives when subscribing for updates to e.g. share modifications have an accessibility problem: when the user uses web push notifications and their OS is in dark mode, the activity icon in the notification is black, which combined with the dark background of the notification makes it really hard to see.

We should discuss to see which solution we can implement for this.

How to reproduce

  1. Use a OS with Dark Theme support or with a theme which makes the background of notifications dark
  2. Enable the notifications and activity apps on a Nextcloud instance
  3. Enable HTTPS in your instance (in Julius' dev setup can be done easily)
  4. Open a browser tab pointing at your instance using https://...
  5. Make sure to accept the browser's request asking for permissions to display notifications
  6. With User A, navigate to "Personal Settings -> Notifications" and enable push notifications for the action you wish to test
  7. With User B, trigger the action that will produce a notification for User B
  8. Observe the received notification (from your browser!) it will have a black icon for the activity, which is barely visible.

Screenshots from different OSes

KDE + Firefox

Image

Windows 11 + Firefox

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions