-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add MorphicA11yUIElementError class; enhance a11y error reporting detail
- Loading branch information
1 parent
77c7198
commit 1802073
Showing
3 changed files
with
83 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
MorphicMacOSNative/MorphicMacOSNative/AccessibilityUI/MorphicA11yUIElementError.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2021-2023 Raising the Floor - US, Inc. | ||
// | ||
// Licensed under the New BSD license. You may not use this file except in | ||
// compliance with this License. | ||
// | ||
// You may obtain a copy of the License at | ||
// https://github.com/raisingthefloor/morphic-macos/blob/master/LICENSE.txt | ||
// | ||
// The R&D leading to these results received funding from the: | ||
// * Rehabilitation Services Administration, US Dept. of Education under | ||
// grant H421A150006 (APCP) | ||
// * National Institute on Disability, Independent Living, and | ||
// Rehabilitation Research (NIDILRR) | ||
// * Administration for Independent Living & Dept. of Education under grants | ||
// H133E080022 (RERC-IT) and H133E130028/90RE5003-01-00 (UIITA-RERC) | ||
// * European Union's Seventh Framework Programme (FP7/2007-2013) grant | ||
// agreement nos. 289016 (Cloud4all) and 610510 (Prosperity4All) | ||
// * William and Flora Hewlett Foundation | ||
// * Ontario Ministry of Research and Innovation | ||
// * Canadian Foundation for Innovation | ||
// * Adobe Foundation | ||
// * Consumer Electronics Association Foundation | ||
|
||
import Cocoa | ||
|
||
public enum MorphicA11yUIElementError: Error { | ||
case axError(_ error: AXError) | ||
case uiAttributeValueCompatibleError(_ error: MorphicA11yUIAttributeValueCompatibleError) | ||
} |