[webkit-changes] [WebKit/WebKit] 26acc6: AX: VoiceOver reports the datetime value in the wr...

AndresGonzalezApple noreply at github.com
Fri Feb 23 18:13:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 26acc630c3467b5ce6989d4d5a9c842c5c8be498
      https://github.com/WebKit/WebKit/commit/26acc630c3467b5ce6989d4d5a9c842c5c8be498
  Author: Andres Gonzalez <andresg_22 at apple.com>
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

  Log Message:
  -----------
  AX: VoiceOver reports the datetime value in the wrong time zone.
https://bugs.webkit.org/show_bug.cgi?id=269999
<rdar://problem/123522296>

Reviewed by Chris Fleizach.

VoiceOver expects the value of dateTime elements to be in local time zone. Since we store those values in GMT, we need to convert them to local times before returning them.

* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(gmtToLocalTimeOffset):
(-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):

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