mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
bug 477606 - select@size should be exposed as listbox, r=davidb, r=MarcoZ
This commit is contained in:
parent
5286be7620
commit
ce48d2a2db
@ -360,7 +360,7 @@ NS_IMETHODIMP nsHTMLSelectListAccessible::GetRole(PRUint32 *aRole)
|
||||
if (nsAccUtils::Role(mParent) == nsIAccessibleRole::ROLE_COMBOBOX)
|
||||
*aRole = nsIAccessibleRole::ROLE_COMBOBOX_LIST;
|
||||
else
|
||||
*aRole = nsIAccessibleRole::ROLE_LIST;
|
||||
*aRole = nsIAccessibleRole::ROLE_LISTBOX;
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -60,6 +60,7 @@ const ROLE_GRID_CELL = nsIAccessibleRole.ROLE_GRID_CELL;
|
||||
const ROLE_HEADING = nsIAccessibleRole.ROLE_HEADING;
|
||||
const ROLE_LABEL = nsIAccessibleRole.ROLE_LABEL;
|
||||
const ROLE_LIST = nsIAccessibleRole.ROLE_LIST;
|
||||
const ROLE_LISTBOX = nsIAccessibleRole.ROLE_LISTBOX;
|
||||
const ROLE_OPTION = nsIAccessibleRole.ROLE_OPTION;
|
||||
const ROLE_PARAGRAPH = nsIAccessibleRole.ROLE_PARAGRAPH;
|
||||
const ROLE_PASSWORD_TEXT = nsIAccessibleRole.ROLE_PASSWORD_TEXT;
|
||||
|
@ -87,7 +87,7 @@
|
||||
"UI" // item 4
|
||||
];
|
||||
roles = [
|
||||
ROLE_LIST, // root
|
||||
ROLE_LISTBOX, // root
|
||||
ROLE_OPTION, // item 1
|
||||
ROLE_OPTION, // item 2
|
||||
ROLE_OPTION, // item 4
|
||||
@ -122,7 +122,7 @@
|
||||
roles = [
|
||||
ROLE_LABEL, // root
|
||||
ROLE_TEXT_LEAF, // inner text
|
||||
ROLE_LIST, // listbox accessible
|
||||
ROLE_LISTBOX, // listbox accessible
|
||||
ROLE_OPTION, // first option
|
||||
ROLE_OPTION, // second option
|
||||
ROLE_OPTION, // third option
|
||||
|
Loading…
Reference in New Issue
Block a user