Tables with SwiftUI
Tables with SwiftUI
- Subject: Tables with SwiftUI
- From: kelly--- via Accessibility-dev <email@hidden>
- Date: Sat, 18 Mar 2023 06:08:28 +0000
- Thread-topic: Tables with SwiftUI
Hello,
As I’m sure most here know, tables are one of the more power UI experiences to
navigate complex data with a screen reader. The area of particular interest to
me is financial data, account transaction and investment portfolio views in
particular.
Over the years I’ve had varying levels of discussions with multiple companies
from the banking and investment worlds about this topic. Most easily create
robust tables for the web using HTML. These tables support all the table
navigation available to different screen readers including items such as
VoiceOver’s rotor.
I’ve yet to find an example of one of these apps supporting an actual table in
their native iOS or Mac apps though. Most end up with one of two experiences:
1. All of the tabular data combined into a single object per row. You’ll get
either all the data with a separator such as a comma, or the data plus the
column titles before each piece of data.
2. It seems that when developers try to improve on this, they end up
creating some experience that basically ends up putting each cell as a separate
object for VoiceOver but the overall structure is not a table. This means table
commands and row navigation do not work. This is most often some custom
creation because developers have tried to make something that seems more like a
table and will add custom info on each of these simulated cells.
I have tried at least 10 financial apps here from most of the leading industry
players and they all seem to have this situation. My own development
experience for Mac and iOS is limited as I’ve worked most of the time in HTML
or different Microsoft/Windows technologies. I’m trying to improve my knowledge
and have more productive conversations when I end up talking with these
companies through different feedback opportunities. I’ve had the most success
when I can provide details on the desired end user experience and point to as
much documentation and working examples developers can use to learn.
While I improve my own knowledge, I was curious what others can share here.
When I look at SwiftUI documentation on tables, I find this.
Table | Apple Developer
Documentation<https://developer.apple.com/documentation/SwiftUI/Table>
This appears to be relatively new as far as OS support.
If a developer follows this documentation, will it create a table that is
reported properly as a table with VoiceOver and works with table commands, such
as rows with the rotor in VoiceOver? Are there examples of working tables in
Apple or 3rd party iOS and Mac apps that are not done in HTML? Does Apple have
any further documentation, code samples, learning materials or other resources
that can be shared with developers trying to improve their experiences here?
The few financial apps where I have seen tables that work with VoiceOver from
my own research are hosting some sort of web experience inside their apps.
Thank you for any additional information here.
Kelly
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden