mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 125295. Active Accessibility: HTML <button> element should be a leaf. r=jgaunt, sr=hewitt, a=shaver
This commit is contained in:
parent
22931b9e75
commit
613d78d4b4
@ -212,7 +212,7 @@ NS_IMETHODIMP nsHTMLButtonAccessible::GetAccName(nsAWritableString& _retval)
|
||||
// ----- HTML 4 Button: can contain arbitrary HTML content -----
|
||||
|
||||
nsHTML4ButtonAccessible::nsHTML4ButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
|
||||
nsBlockAccessible(aNode, aShell)
|
||||
nsLeafAccessible(aNode, aShell)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
NS_IMETHOD AccDoAction(PRUint8 index);
|
||||
};
|
||||
|
||||
class nsHTML4ButtonAccessible : public nsBlockAccessible
|
||||
class nsHTML4ButtonAccessible : public nsLeafAccessible
|
||||
{
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user