Bug 413673. ARIA drop down buttons not being exposed with MSAA button menu role. r=marcoz, a=schrep
git-svn-id: svn://10.0.0.236/trunk@244087 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1963,7 +1963,7 @@ NS_IMETHODIMP nsAccessible::GetFinalRole(PRUint32 *aRole)
|
||||
// For simplicity, any pressed attribute indicates it's a toggle button
|
||||
*aRole = nsIAccessibleRole::ROLE_TOGGLE_BUTTON;
|
||||
}
|
||||
else if (content->AttrValueIs(kNameSpaceID_None, nsAccessibilityAtoms::aria_secret,
|
||||
else if (content->AttrValueIs(kNameSpaceID_None, nsAccessibilityAtoms::aria_haspopup,
|
||||
nsAccessibilityAtoms::_true, eCaseMatters)) {
|
||||
// For button with aria-haspopup="true"
|
||||
*aRole = nsIAccessibleRole::ROLE_BUTTONMENU;
|
||||
|
||||
Reference in New Issue
Block a user