Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility stage 1 #1025

Merged
merged 65 commits into from Feb 2, 2024
Merged

Accessibility stage 1 #1025

merged 65 commits into from Feb 2, 2024

Conversation

elijah-semyonov
Copy link

@elijah-semyonov elijah-semyonov commented Jan 30, 2024

Proposed Changes

MVP for UIAccessibility integration on iOS

Testing

Test: TODO

API changes

Added to iOS source set:

@ExperimentalComposeApi
sealed class AccessibilitySyncOptions
@ExperimentalComposeApi
var ComposeUIViewControllerConfiguration.accessibilitySyncOptions: AccessibilitySyncOptions
@ExperimentalComposeApi
interface AccessibilityDebugLogger

@@ -1,5 +1,5 @@
/*
* Copyright 2022 The Android Open Source Project
* Copyright 2023 The Android Open Source Project

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now we can update to 2024

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, @MatkovIvan said that Google stated that those indicate the file creation date and not the current one

@@ -158,8 +185,37 @@ private class AccessibilityElement(
return null
}

// TODO: remove if unneeded

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are this todo is still actual?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this one slipped from me, removed.

Comment on lines +339 to +340
0F,
-height.toFloat() * dimensionScale

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add argument names here? Or it is Function type without named arguments?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's (x: Float, y: Float) -> Boolean, IDE can recognise the labels, but named arguments are not allowed for function types indeed.

@elijah-semyonov elijah-semyonov merged commit 85539a8 into jb-main Feb 2, 2024
6 checks passed
@elijah-semyonov elijah-semyonov deleted the es/accessibility-stage-1 branch February 2, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants