Explore best practices for creating inclusive apps that cater to users with diverse abilities

Learn More

Posts under General subtopic

Post

Replies

Boosts

Views

Activity

VoiceOver Focus Remains on Selected Tab Bar Item
I have been trying to get VoiceOver focus to change when the user selects a new tab inside a UITabBar. The default behavior seems to be that it just stays on the selected tab item, which is an awful user experience. For some reason: UIAccessibility.post(notification: .screenChanged, argument: view) does not work; nor does .layoutChanged work. Is there a way to set focus when a new tab is selected on a tab bar, or will I just have to hack together a solution that does not use a UIKit UITabBarController?
1
0
2.6k
Sep ’21
accessbility focus with in same cell
Hi Team, any idea how to scroll while voice over is running? Same cell content need to scroll so that it will focus on what exactly it's reading. I have TableView cell which has huge content while reading it is proper but focus is not updating properly. visible paragraphs reading and focusing properly, while reading the not visible content focus is on button which exist on top.
0
0
403
Sep ’21
iOS Localization: What is exactly "Base" ?
Ok, so I understand the high-level reason Base Localization is used in an app, the problem it solves, and the ultimate goal it's trying to achieve. But I don't understand the real meaning of the concept of "Base". What is it exactly? I've got several questions Question 1: Is it called Base Localization? Base Internationalization? Just "Base"? Are all these synonyms? I will use the term "Base Localization" for the remainder of this question. Question 2: Yes/No Question: Is Base Localization really a localization? If the answer is YES: Question 2.1: Then why does this answer say that it's not? Is the answer right or wrong ? (That forum contains very good explanations, but I want to be strict with the meaning of "Base") Question 2.2: See the images below. Why does it get grouped with other 'real' languages (Spanish, French...)? In which country is the "Base" language spoken? (I know that's an ironical question, but it's to make my point clear). If the answer is NO: Question 2.3: If I create a new app from scratch in Xcode, why does Base get printed when I do the following? print(Bundle.main.localizations) // Base gets printed..so that implies it's a localization, just like Spanish or French Question 2.4. Basically, the opposite of question 2.2. If it's NOT a localization, then why does it get listed under the "Localization" section of the Info Tab of the project settings? Question 3: I've seen the term "Base language" used around in several docs. What's the difference between "Development Language" and "Base Language"? Are these synonyms? Could it be possible that they be different? Question 4. Is there a situation where Base localization shouldn't be used in an app? (That is, leave the option unchecked in the Info Tab of Project settings). The only situation I can think of is when you build programmatically your UI layouts. But even if you do that, there's no harm in leaving the option checked. Or is there? Question 4.1 If there isn't any harm, then why even give the option? Just set it to true always internally (and don't even expose the concept of "Base" to the end-developers). This isn't a specific question. There's no particular problem I'm trying to solve. I just want to understand what "Base" truly means and clear some fuzziness around that concept.
0
0
771
Sep ’21
Could it be possible that Bundle.main.preferredLocalizations returns more than one element?
According to the docs, the preferredLocalizations property of a Bundle returns: An array of NSString objects containing language IDs for localizations in the bundle. The strings are ordered according to the user's language preferences and available localizations. However, I have played around with different scenarios and setups, and I can't get the preferredLocalizations array to include more than one element. I have tried a combination of Adding multiple localizations to my app Adding multiple preferred languages to my phone (via Settings). But it always return a single-element array. This makes me ask the following questions: Is it really possible that preferredLocalizations could return more than one element? If so, can you give me a sample setup to make that happen?
0
0
680
Sep ’21
Accessibility elements are not visible in automation testing
I have a table view with a custom cell that I set accessibility elements for its components. All of the accessibility IDs are appearing correctly in the Xcode's Accessibility Inspector, as you see:  However, when it comes down to automation testing, none of the accessibility IDs are visible and don't appear in the XML. It's like this: What's the reason for causing this issue?
0
0
418
Oct ’21
How can I create a custom NSCursor that supports the new Monterey custom cursor colors?
macOS Monterey introduced support for user-defined cursor colors (e.g., I can change my mouse pointer to have a yellow outline and a magenta fill to make it easier to see). In a sample app, if I change the cursor to any of the built-in NSCursors everything works fine, but if I use my own cursor then none of the Accessibility colors get applied. I couldn't find any documentation on how to create an NSCursor that honors the new user-defined cursor colors. I've tried both PDF and PNG cursor files (but I assume we need to use a vector-based format for the recoloring to work) Would appreciate any guidance on how to get this to work, so our app can be more accessible and support the latest awesomeness in Monterey :)
0
0
843
Oct ’21
Nested elements accessibility for automated testing
Hi, My team is using Appium as a tool for automated testing. Using accessibilityIdentifiers was a simple way for app testing before accessibility issues. The problem is that you can't have the parent view and its children accessible. If a parent view is accessible, its children won't be seen by VoiceOver and conversely. And if an element looses accessibility, it can not be seen by Appium. So now we have bigger elements (like cell) that needs to be accessibility element to provide short descriptive information, meaning all nested buttons and etc. looses ability to be accessibility elements and cannot be found by QA. Maybe anyone has a good workaround?
1
0
1.5k
Mar ’23
Audio balance slider in shortcuts
When listening with headphones I move the balance slider (setting/accessibility/audio & visual/balance slider) 95% to the right due to right side hearing loss. I want to automate the process in shortcuts, Apple’s iOS automation feature. I can’t find an option to do this while building a shortcut. Any ideas?
0
0
640
Nov ’21
How to access activity for previous weeks with VoiceOver on in Apple Fitness?
My app has a similar UI to this one in Apple Fitness: I'm trying to figure out how to make my UI fully navigable with VoiceOver on, and the first thing I need to do is understand how users would expect it to operate. So I'm trying to first navigate the same control in Apple's Fitness app with VoiceOver turned on so I can match what they do, and so far I'm stumped. My best guess, based on my limited understanding of how to navigate iOS with VoiceOver, was to flick up and down (the way you do on the paging control on the Home Screen) but that doesn't do it. The other thing I tried was three-finger swiping left and right, but that also does nothing. Can anyone help me understand what the user expectation is for navigating this control with VoiceOver on?
0
0
606
Nov ’21
No basic localization applied
In the application, the basic localization is English, there are French and German. I put the French localization and put the application, then I close it. I change the language, let's say, to Norwegian and launch the application. Expect to see English, however the app is in French. How can this be?
1
0
475
Nov ’21
Develop spelling dictionary and grammar support in macOS for unsupported languages
I'm coming from Windows/Linux world, so don't be too harsh while answering :-) Is it possible to develop a spelling dictionary and grammar support for unsupported languages? Is there any documentation available? After some searching, I didn't find anything useful. Our wish is to develop language tools for macOS (speller, grammar, text-to-speech). What is the right procedure to start in the macOS world? Regards.
1
0
856
Nov ’21
Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS).
Hello, When is Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS) going to be supported and available? Not sure why iOS can support a Bluetooth feature that OSX cant. Doesn't make sense why a apple user can jump from iphone to ipad seemlessly with mFI streaming, but cant when using OSX.
0
0
524
Dec ’21
Can Webview content adapt to the Button Shapes Setting?
I would like to know if accessibility settings in iOS such as the Button Shapes feature or other similar accessibility features can be applied to content within a webview. For example, would buttons in a webview adapt to the Button Shapes setting when it is toggled on?
Replies
1
Boosts
0
Views
690
Activity
Aug ’21
VoiceOver Focus Remains on Selected Tab Bar Item
I have been trying to get VoiceOver focus to change when the user selects a new tab inside a UITabBar. The default behavior seems to be that it just stays on the selected tab item, which is an awful user experience. For some reason: UIAccessibility.post(notification: .screenChanged, argument: view) does not work; nor does .layoutChanged work. Is there a way to set focus when a new tab is selected on a tab bar, or will I just have to hack together a solution that does not use a UIKit UITabBarController?
Replies
1
Boosts
0
Views
2.6k
Activity
Sep ’21
How to give UIAccessibilityCustomAction for UITableViewCell swipe feature?
When Voice over set to ON, i've implemented UIAccessibilityCustomAction for UITableViewCell SwipeActions. In normal state it works fine. But when Voice over is ON then it crash, because unable to find index of the table view cell. My requirement is to get the index of swipe cell.
Replies
0
Boosts
0
Views
369
Activity
Sep ’21
App Distribution Methods
How to change app distribution methods to public not private
Replies
0
Boosts
0
Views
544
Activity
Sep ’21
accessbility focus with in same cell
Hi Team, any idea how to scroll while voice over is running? Same cell content need to scroll so that it will focus on what exactly it's reading. I have TableView cell which has huge content while reading it is proper but focus is not updating properly. visible paragraphs reading and focusing properly, while reading the not visible content focus is on button which exist on top.
Replies
0
Boosts
0
Views
403
Activity
Sep ’21
ShazamKit wrong localization
We try to implement shazamkit music recognition in our app. All works amazing but, SHSession return track information in english translit, but when we open web url, it show right language. Region and language set as Ru on device.
Replies
1
Boosts
0
Views
869
Activity
Sep ’21
iOS Localization: What is exactly "Base" ?
Ok, so I understand the high-level reason Base Localization is used in an app, the problem it solves, and the ultimate goal it's trying to achieve. But I don't understand the real meaning of the concept of "Base". What is it exactly? I've got several questions Question 1: Is it called Base Localization? Base Internationalization? Just "Base"? Are all these synonyms? I will use the term "Base Localization" for the remainder of this question. Question 2: Yes/No Question: Is Base Localization really a localization? If the answer is YES: Question 2.1: Then why does this answer say that it's not? Is the answer right or wrong ? (That forum contains very good explanations, but I want to be strict with the meaning of "Base") Question 2.2: See the images below. Why does it get grouped with other 'real' languages (Spanish, French...)? In which country is the "Base" language spoken? (I know that's an ironical question, but it's to make my point clear). If the answer is NO: Question 2.3: If I create a new app from scratch in Xcode, why does Base get printed when I do the following? print(Bundle.main.localizations) // Base gets printed..so that implies it's a localization, just like Spanish or French Question 2.4. Basically, the opposite of question 2.2. If it's NOT a localization, then why does it get listed under the "Localization" section of the Info Tab of the project settings? Question 3: I've seen the term "Base language" used around in several docs. What's the difference between "Development Language" and "Base Language"? Are these synonyms? Could it be possible that they be different? Question 4. Is there a situation where Base localization shouldn't be used in an app? (That is, leave the option unchecked in the Info Tab of Project settings). The only situation I can think of is when you build programmatically your UI layouts. But even if you do that, there's no harm in leaving the option checked. Or is there? Question 4.1 If there isn't any harm, then why even give the option? Just set it to true always internally (and don't even expose the concept of "Base" to the end-developers). This isn't a specific question. There's no particular problem I'm trying to solve. I just want to understand what "Base" truly means and clear some fuzziness around that concept.
Replies
0
Boosts
0
Views
771
Activity
Sep ’21
How to Use JSON files to language translation in Swift?
Hi everyone. I want to download some JSON files to localize my app. What format should this JSON file be in and how can I use these files after downloading them?
Replies
0
Boosts
0
Views
786
Activity
Sep ’21
Could it be possible that Bundle.main.preferredLocalizations returns more than one element?
According to the docs, the preferredLocalizations property of a Bundle returns: An array of NSString objects containing language IDs for localizations in the bundle. The strings are ordered according to the user's language preferences and available localizations. However, I have played around with different scenarios and setups, and I can't get the preferredLocalizations array to include more than one element. I have tried a combination of Adding multiple localizations to my app Adding multiple preferred languages to my phone (via Settings). But it always return a single-element array. This makes me ask the following questions: Is it really possible that preferredLocalizations could return more than one element? If so, can you give me a sample setup to make that happen?
Replies
0
Boosts
0
Views
680
Activity
Sep ’21
Is it possible to turn Single App Mode off/on programtically?
I'm trying to build an app that will go into single app mode when I open the app. The app will have a submit button. Until this submit button is clicked, they will still be in single app mode. After clicking the submit button, the single app mode will be closed. Is this possible to do?
Replies
3
Boosts
0
Views
684
Activity
Oct ’21
Apple Watch 3 42mm Accessibility issue
Hello Team, I have recently bought Apple Watch series 3 42mm , after updated IOS 8 , the option of accessibility in watch is not working , tried resetting twice . Please resolve the issue Thanks , Syed Ayaz Hashmi
Replies
1
Boosts
0
Views
415
Activity
Oct ’21
Accessibility elements are not visible in automation testing
I have a table view with a custom cell that I set accessibility elements for its components. All of the accessibility IDs are appearing correctly in the Xcode's Accessibility Inspector, as you see:  However, when it comes down to automation testing, none of the accessibility IDs are visible and don't appear in the XML. It's like this: What's the reason for causing this issue?
Replies
0
Boosts
0
Views
418
Activity
Oct ’21
How can I create a custom NSCursor that supports the new Monterey custom cursor colors?
macOS Monterey introduced support for user-defined cursor colors (e.g., I can change my mouse pointer to have a yellow outline and a magenta fill to make it easier to see). In a sample app, if I change the cursor to any of the built-in NSCursors everything works fine, but if I use my own cursor then none of the Accessibility colors get applied. I couldn't find any documentation on how to create an NSCursor that honors the new user-defined cursor colors. I've tried both PDF and PNG cursor files (but I assume we need to use a vector-based format for the recoloring to work) Would appreciate any guidance on how to get this to work, so our app can be more accessible and support the latest awesomeness in Monterey :)
Replies
0
Boosts
0
Views
843
Activity
Oct ’21
Nested elements accessibility for automated testing
Hi, My team is using Appium as a tool for automated testing. Using accessibilityIdentifiers was a simple way for app testing before accessibility issues. The problem is that you can't have the parent view and its children accessible. If a parent view is accessible, its children won't be seen by VoiceOver and conversely. And if an element looses accessibility, it can not be seen by Appium. So now we have bigger elements (like cell) that needs to be accessibility element to provide short descriptive information, meaning all nested buttons and etc. looses ability to be accessibility elements and cannot be found by QA. Maybe anyone has a good workaround?
Replies
1
Boosts
0
Views
1.5k
Activity
Mar ’23
Some collection view items not detectable by accessibility inspector.
I have setup where I have collection view inside table view cell. When I scroll through the collection view items, some items are detectable by accessibility inspector, some are not. What is the issue and how can I resolve it?
Replies
0
Boosts
0
Views
643
Activity
Nov ’21
Audio balance slider in shortcuts
When listening with headphones I move the balance slider (setting/accessibility/audio & visual/balance slider) 95% to the right due to right side hearing loss. I want to automate the process in shortcuts, Apple’s iOS automation feature. I can’t find an option to do this while building a shortcut. Any ideas?
Replies
0
Boosts
0
Views
640
Activity
Nov ’21
How to access activity for previous weeks with VoiceOver on in Apple Fitness?
My app has a similar UI to this one in Apple Fitness: I'm trying to figure out how to make my UI fully navigable with VoiceOver on, and the first thing I need to do is understand how users would expect it to operate. So I'm trying to first navigate the same control in Apple's Fitness app with VoiceOver turned on so I can match what they do, and so far I'm stumped. My best guess, based on my limited understanding of how to navigate iOS with VoiceOver, was to flick up and down (the way you do on the paging control on the Home Screen) but that doesn't do it. The other thing I tried was three-finger swiping left and right, but that also does nothing. Can anyone help me understand what the user expectation is for navigating this control with VoiceOver on?
Replies
0
Boosts
0
Views
606
Activity
Nov ’21
No basic localization applied
In the application, the basic localization is English, there are French and German. I put the French localization and put the application, then I close it. I change the language, let's say, to Norwegian and launch the application. Expect to see English, however the app is in French. How can this be?
Replies
1
Boosts
0
Views
475
Activity
Nov ’21
Develop spelling dictionary and grammar support in macOS for unsupported languages
I'm coming from Windows/Linux world, so don't be too harsh while answering :-) Is it possible to develop a spelling dictionary and grammar support for unsupported languages? Is there any documentation available? After some searching, I didn't find anything useful. Our wish is to develop language tools for macOS (speller, grammar, text-to-speech). What is the right procedure to start in the macOS world? Regards.
Replies
1
Boosts
0
Views
856
Activity
Nov ’21
Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS).
Hello, When is Mfi compatibility for hearing aids for OSX (laptops and computers to be included support for hearing aid streaming like on iOS) going to be supported and available? Not sure why iOS can support a Bluetooth feature that OSX cant. Doesn't make sense why a apple user can jump from iphone to ipad seemlessly with mFI streaming, but cant when using OSX.
Replies
0
Boosts
0
Views
524
Activity
Dec ’21