Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html-aam ATK mapping for METER element #150

Closed
klown opened this issue Jan 12, 2016 · 6 comments
Closed

Html-aam ATK mapping for METER element #150

klown opened this issue Jan 12, 2016 · 6 comments
Assignees

Comments

@klown
Copy link
Contributor

klown commented Jan 12, 2016

Role: ATK_ROLE_LEVEL_BAR
Interfaces: AtkValue, AtkRange

Reference:
"A bar that serves as a level indicator to, for instance, show the strength of a password or the state of a battery." (https://developer.gnome.org/atk/stable/AtkObject.html#ATK-ROLE-LEVEL-BAR:CAPS).

@ZoeBijl ZoeBijl added the AAM label Jan 12, 2016
@jasonkiss jasonkiss self-assigned this Feb 10, 2016
@jasonkiss
Copy link
Contributor

Thanks, Joseph. Will update ATK Role and Interfaces.

Not sure if we need to be this specific, but AtkRange appears to be a component of the AtkValue Interface, as opposed to an Interface itself. That said, I'm not sure how best to refer to the type of structure it represents, or if it matters.

jasonkiss added a commit that referenced this issue Feb 10, 2016
@jasonkiss
Copy link
Contributor

Mapping updated, but leaving issue open pending resolution to question re AtkRange as interface.

@klown
Copy link
Contributor Author

klown commented Feb 10, 2016

Thanks @jasonkiss

RIght, the range comes from the AtkValue. However, not all implementations of AtkValue support a range. In those cases, when AtkValue is queried for the range, NULL is returned. The case of a meter is one where the range is required. I thought that should be called out explicitly.

Reference: https://developer.gnome.org/atk/stable/AtkValue.html#atk-value-get-range

@jasonkiss
Copy link
Contributor

Thanks @klown. I agree that mentioning AtkRange is a good idea. I guess my real question was more pedantic: AtkRange itself is not an Interface (it's not in the ATK list of Interfaces [https://developer.gnome.org/atk/stable/interfaces.html]), so listing it as one is not quite accurate. Is there a more accurate way to refer to it in the mapping than listing it as an Interface? Is it a property of AtkValue? Am I being overly pedantic?

@klown
Copy link
Contributor Author

klown commented Feb 11, 2016

Thanks @jasonkiss. "You learn something everyday". My bad. I assumed that, like virtually everything else in ATK, that AtkRange was an interface as well. Your right, it isn't. It's just a struct. So, it would be misleading to document as one -- you are not being overly pedantic. Describing it as a property of the AtkValue is correct.

Thanks for your attention to detail.

jasonkiss added a commit that referenced this issue Feb 11, 2016
changed AtkRange from Interface to Property
@jasonkiss
Copy link
Contributor

Ta. I've listed it as a Property. Assuming it is clear enough to implementers that AtkRange is implicitly a property of the AtkValue interface, I'm closing this issue as fixed.

pkra pushed a commit to pkra/aria that referenced this issue May 20, 2024
…or-review

Specify behavior when following a hidden subtree via aria-labelledby …
pkra pushed a commit that referenced this issue May 20, 2024
* Add Valerie as Editor

* switch UIA mapping maintainer

---------

Co-authored-by: Valerie Young <spectranaut@gmail.com>
pkra pushed a commit that referenced this issue May 20, 2024
chore: Use doublequotes on values
pkra pushed a commit that referenced this issue May 20, 2024
IE/Edge/firefox use title, if not used as acc description, before supplying own string, so switched order to reflect 
fixes #150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants