This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7066 - Do we need a section describing what to do if an API doesn't support something?
Summary: Do we need a section describing what to do if an API doesn't support something?
Status: RESOLVED WONTFIX
Alias: None
Product: ARIA
Classification: Unclassified
Component: Core AAM (show other bugs)
Version: 1.0
Hardware: PC All
: P1 normal
Target Milestone: ---
Assignee: Andi Snow-Weaver
QA Contact: ARIA UA Implementors
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 12:54 UTC by Andi Snow-Weaver
Modified: 2010-07-06 14:20 UTC (History)
0 users

See Also:


Attachments

Description Andi Snow-Weaver 2009-06-29 12:54:13 UTC
 
Comment 1 Andi Snow-Weaver 2009-07-22 14:23:07 UTC
July 22, F2F in Boston:

Issue came up when discussing last paragraph of 3.6.1.2:

If the element is an <img> and the text equivalent is empty, then check for the presence of any labeling attribute, specifically aria-label, aria-labelledby, alt or title. The presence of any of these would indicate the author's intention to set an empty text equivalent for decorative or redundant image content. If none of these attributes are present, this indicates the author simply did not provide an accessible label for the image, and the implementation must return the default value of the name property (for example, NULL in MSAA), instead of an empty string. This hints to the AT to do its own heuristic processing, such as accessing the DOM, to repair the missing accessible name.

If API only supports an empty string and not NULL, how does the AT know to fall back to heuristics?
Comment 2 Andi Snow-Weaver 2010-01-12 15:10:44 UTC
Andi to contact Apple: Does Mac support NULL or only empty string?
Comment 3 Andi Snow-Weaver 2010-01-25 16:59:59 UTC
Question sent to Apple contacts on January 25, 2010.
Comment 4 Andi Snow-Weaver 2010-02-09 16:37:59 UTC
Response from Apple: Yes it does support null. Often the API is supposed to return an NSArray or a UIElement reference. in those cases, NULL is acceptable