[webkit-changes] [WebKit/WebKit] a60382: [Cocoa] Modern media controls should have accessib...

aestes noreply at github.com
Thu Oct 24 18:25:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a603828ce3a8b7c808f74e152061a1e7e59d3eac
      https://github.com/WebKit/WebKit/commit/a603828ce3a8b7c808f74e152061a1e7e59d3eac
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-10-24 (Thu, 24 Oct 2024)

  Changed paths:
    M Source/WebCore/Modules/modern-media-controls/controls/button.js
    M Source/WebCore/Modules/modern-media-controls/controls/metadata-container.css
    M Source/WebCore/Modules/modern-media-controls/controls/metadata-container.js
    M Source/WebCore/Modules/modern-media-controls/controls/time-label.js

  Log Message:
  -----------
  [Cocoa] Modern media controls should have accessibility identifiers
https://bugs.webkit.org/show_bug.cgi?id=282022
rdar://138526033

Reviewed by Antoine Quint.

Assigned id attributes to buttons and labels in modern media controls that also have aria-labels.
In a future change, WebKit will use these attributes to assign accessibility identifiers to these
elements.

* Source/WebCore/Modules/modern-media-controls/controls/button.js:
(Button.prototype.set iconName):
* Source/WebCore/Modules/modern-media-controls/controls/metadata-container.css:
(.media-controls.fullscreen.tvos > .metadata-container):
(#title-label):
(#artist-label):
(.title-label): Deleted.
(.artist-label): Deleted.
* Source/WebCore/Modules/modern-media-controls/controls/metadata-container.js:
* Source/WebCore/Modules/modern-media-controls/controls/time-label.js:
(TimeLabel.prototype.switch):

Canonical link: https://commits.webkit.org/285677@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