Re: Tables with SwiftUI
Re: Tables with SwiftUI
- Subject: Re: Tables with SwiftUI
- From: Chris Fleizach via Accessibility-dev <email@hidden>
- Date: Wed, 22 Mar 2023 23:56:30 -0700
Hi
You’re correct that HTML is the only way to get all the native table semantics.
Tables in SwiftUI do not support native semantics today, but they should, and
we will work on that.
Thanks
> On Mar 22, 2023, at 11:31 AM, Drake, Ted via Accessibility-dev
> <email@hidden> wrote:
>
> Kelly brings up a great topic. I’ve also wanted to learn more about table
> usage in iOS and MacOS. It seems like using a webview of an HTML table has
> been the only solution.
>
> This used to be problematic when TalkBack wouldn’t work with HTML tables on
> Android. But that is working now.
>
> Does Apple have deeper guidance on tables?
>
>
> Ted Drake | Accessibility and Inclusive Design Leader, Intuit Design System
> Cell Phone: (650) 245-4825
> Pronouns: He/Him/His | https://www.last-child.com/working-style-for-ted-drake/
> Email: mailto:email@hidden
>
> Intuit products are more than web, desktop, and mobile applications. We build
> the products that enable people to live independent lives. They manage their
> finances, start businesses, hire employees, and develop their careers. Our
> goal within the Intuit Accessibility team is to ensure our products reach
> everyone, regardless of their physical, sensory, or cognitive ability.
>
> Intuit | Powering Prosperity tm
>
>
>
>
>
> From: kelly--- via Accessibility-dev <email@hidden>
> Reply-To: "email@hidden" <email@hidden>
> Date: Friday, March 17, 2023 at 11:08 PM
> To: "email@hidden" <email@hidden>
> Subject: 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.
>
> 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
_______________________________________________
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