Bug 559766 - add accessibility support for @list on HTML input and for HTML datalist, r=marcoz
This commit is contained in:
@@ -511,6 +511,10 @@ nsHTMLTextFieldAccessible::NativeState()
|
||||
return state;
|
||||
}
|
||||
|
||||
// Expose autocomplete state if it has associated autocomplete list.
|
||||
if (mContent->HasAttr(kNameSpaceID_None, nsGkAtoms::list))
|
||||
return state | states::SUPPORTS_AUTOCOMPLETION;
|
||||
|
||||
// No parent can mean a fake widget created for XUL textbox. If accessible
|
||||
// is unattached from tree then we don't care.
|
||||
if (mParent && gIsFormFillEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user