1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "LocalAccessible-inl.h"
10 using namespace mozilla::a11y
;
11 using namespace mozilla::a11y::filters
;
13 uint32_t filters::GetSelected(LocalAccessible
* aAccessible
) {
14 if (aAccessible
->State() & states::SELECTED
) return eMatch
| eSkipSubtree
;
19 uint32_t filters::GetSelectable(LocalAccessible
* aAccessible
) {
20 if (aAccessible
->InteractiveState() & states::SELECTABLE
) {
21 return eMatch
| eSkipSubtree
;