After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781587 - Add error-message, error-for, details, and details-for relation types
Add error-message, error-for, details, and details-for relation types
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: atk
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Joanmarie Diggs (IRC: joanie)
ATK maintainer(s)
: 781591 (view as bug list)
Depends on:
Blocks: 783008
 
 
Reported: 2017-04-21 13:32 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2017-05-24 10:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (4.27 KB, patch)
2017-05-23 13:36 UTC, Joanmarie Diggs (IRC: joanie)
none Details | Review
proposed patch (4.61 KB, patch)
2017-05-24 10:10 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2017-04-21 13:32:21 UTC
This is to support a new ARIA feature. https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaErrorMessage
Comment 1 Joanmarie Diggs (IRC: joanie) 2017-05-23 13:29:25 UTC
(Combining bugs so I can do just one patch)

The opening report is for aria-errormessage. There is a similar-in-nature aria-details feature which was also introduced in ARIA 1.1 and which also requires new relation types, namely details and details-for: https://rawgit.com/w3c/aria/master/core-aam/core-aam.html#ariaDetails
Comment 2 Joanmarie Diggs (IRC: joanie) 2017-05-23 13:29:58 UTC
*** Bug 781591 has been marked as a duplicate of this bug. ***
Comment 3 Joanmarie Diggs (IRC: joanie) 2017-05-23 13:36:56 UTC
Created attachment 352426 [details] [review]
proposed patch

Please review. Thanks!
Comment 4 Alejandro Piñeiro Iglesias (IRC: infapi00) 2017-05-24 09:54:31 UTC
Review of attachment 352426 [details] [review]:

LGTM. Just a nitpick about a English word from a non-native speaker. Is "Inverse" the correct word to relate the _BY and _FOR relations about the same info? Seems to suggest that are the opposite, when it is more like one being the mirror or the other.

In any case, it is just a nitpick. If you need more that 5 seconds to think about a better word, just forget my comment.
Comment 5 Joanmarie Diggs (IRC: joanie) 2017-05-24 10:07:11 UTC
(In reply to Alejandro Piñeiro Iglesias (IRC: infapi00) from comment #4)
> Review of attachment 352426 [details] [review] [review]:
> 
> LGTM. Just a nitpick about a English word from a non-native speaker. Is
> "Inverse" the correct word to relate the _BY and _FOR relations about the
> same info? Seems to suggest that are the opposite, when it is more like one
> being the mirror or the other.
> 
> In any case, it is just a nitpick. If you need more that 5 seconds to think
> about a better word, just forget my comment.

"Inverse" was already in there for ATK_RELATION_EMBEDDED_BY, so I used it to be consistent with that. The ATSPI2 docs use "reciprocal" (and so that is what I used in my patch for it). The Core AAM (ARIA mapping spec) uses "reverse". My personal preference of the three is "reciprocal," so how 'bout I use it and also change ATK_RELATION_EMBEDDED_BY?
Comment 6 Joanmarie Diggs (IRC: joanie) 2017-05-24 10:10:34 UTC
Created attachment 352481 [details] [review]
proposed patch

Same patch as before, but uses "reciprocal" instead of "inverse," and also changes "inverse" to "reciprocal" for ATK_RELATION_EMBEDDED_BY.
Comment 7 Alejandro Piñeiro Iglesias (IRC: infapi00) 2017-05-24 10:12:54 UTC
Review of attachment 352481 [details] [review]:

LGTM. Thanks!
Comment 8 Joanmarie Diggs (IRC: joanie) 2017-05-24 10:17:21 UTC
Comment on attachment 352481 [details] [review]
proposed patch

Thanks for the reviews. Committed. https://git.gnome.org/browse/atk/commit/?id=45716bc