Bug 232707 - [GTK][a11y] Add implementation of hyperlink interface when building with ATSPI
Summary: [GTK][a11y] Add implementation of hyperlink interface when building with ATSPI
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on: 232300 232622
Blocks: ATSPI 232708
  Show dependency treegraph
 
Reported: 2021-11-04 03:47 PDT by Carlos Garcia Campos
Modified: 2021-11-19 00:52 PST (History)
12 users (show)

See Also:


Attachments
Patch (26.31 KB, patch)
2021-11-04 06:00 PDT, Carlos Garcia Campos
no flags Details | Formatted Diff | Diff
Patch (26.30 KB, patch)
2021-11-18 04:39 PST, Carlos Garcia Campos
no flags Details | Formatted Diff | Diff
Patch (27.35 KB, patch)
2021-11-18 04:52 PST, Carlos Garcia Campos
aperez: review+
aperez: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2021-11-04 03:47:01 PDT
Implement hyperlink
Comment 1 Carlos Garcia Campos 2021-11-04 06:00:24 PDT
Created attachment 443298 [details]
Patch

This won't apply because it depends on other bugs not fixed yet.
Comment 2 Carlos Garcia Campos 2021-11-18 04:39:19 PST
Created attachment 444661 [details]
Patch
Comment 3 Carlos Garcia Campos 2021-11-18 04:52:17 PST
Created attachment 444662 [details]
Patch
Comment 4 Adrian Perez 2021-11-18 06:23:26 PST
Comment on attachment 444662 [details]
Patch

Patch LGTM with a nit. Please apply the suggestion below before landing :)

View in context: https://bugs.webkit.org/attachment.cgi?id=444662&action=review

> Source/WebCore/accessibility/atspi/AccessibilityObjectTextAtspi.cpp:499
> +        if (--index == -1)

This modifies “index“ in place, which made me wonder “why, and where is the modified
value used later?“. But then it's not used again at all. So I would prefer to have
this check written this way for readability:

  if (index == 0)

=)
Comment 5 Carlos Garcia Campos 2021-11-19 00:52:04 PST
Committed r286050 (244437@main): <https://commits.webkit.org/244437@main>