chromium/ios/chrome/test/earl_grey/accessibility_util.h

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_TEST_EARL_GREY_ACCESSIBILITY_UTIL_H_
#define IOS_CHROME_TEST_EARL_GREY_ACCESSIBILITY_UTIL_H_

#import <Foundation/Foundation.h>

namespace chrome_test_util {

// Verifies that all interactive elements on screen (or at least one of their
// descendants) are accessible.
BOOL VerifyAccessibilityForCurrentScreen(NSError* __strong* error);

// TODO(crbug.com/40609912): Remove the method after update tests in
// "//ios_internal"
void VerifyAccessibilityForCurrentScreen();

}  // namespace chrome_test_util

#endif  // IOS_CHROME_TEST_EARL_GREY_ACCESSIBILITY_UTIL_H_