[webkit-changes] [WebKit/WebKit] 58cbb3: Adjust webkit.org HTML switch demo to avoid confus...

Anne van Kesteren noreply at github.com
Thu Mar 14 11:26:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 58cbb3a8238bdd132719d57af647d315450053d5
      https://github.com/WebKit/WebKit/commit/58cbb3a8238bdd132719d57af647d315450053d5
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M Websites/webkit.org/demos/html-switch/index.html

  Log Message:
  -----------
  Adjust webkit.org HTML switch demo to avoid confusion with toggle/cycle buttons
https://bugs.webkit.org/show_bug.cgi?id=270965

Reviewed by Tim Nguyen.

One styling demo in particular has made it look rather attractive to
use a switch as a toggle button, which at least on Apple platforms is a
distinct control and also has its own accessibility considerations. It
might well warrant its own HTML feature.

As such, this removes the "Daylight switch" demo and renames the
"Toggle button" demo to "Labeled switch".

* Websites/webkit.org/demos/html-switch/index.html:

Canonical link: https://commits.webkit.org/276109@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list