Summary: | should not expose <table> as AXTable if there is an ARIA role | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | chris fleizach <cfleizach> | ||||
Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
chris fleizach
2008-09-17 10:28:50 PDT
Created attachment 23540 [details]
if <table> has an ARIA role, then it should appear as an AXTable
Comment on attachment 23540 [details]
if <table> has an ARIA role, then it should appear as an AXTable
- if (!isDataTable()) {
- AccessibilityRenderObject::addChildren();
- return;
- }
+ if (!isDataTable())
+ return AccessibilityRenderObject::addChildren();
We try and not return an function with a void return value, unless it is necessary for templates to work.
will change. figured i could save 2 lines of code that way Comment on attachment 23540 [details]
if <table> has an ARIA role, then it should appear as an AXTable
Looks good!
|