@@ -174,10 +174,12 @@ public struct ScheduleView: View {
174174    VStack ( alignment:  . leading,  spacing:  8 )  { 
175175      Text ( conference. date,  style:  . date) 
176176        . font ( . title2) 
177+         . accessibilityAddTraits ( . isHeader) 
177178      ForEach ( conference. schedules,  id:  \. self)  {  schedule in 
178179        VStack ( alignment:  . leading,  spacing:  4 )  { 
179180          Text ( schedule. time,  style:  . time) 
180181            . font ( . subheadline. bold ( ) ) 
182+             . accessibilityAddTraits ( . isHeader) 
181183          ForEach ( schedule. sessions,  id:  \. self)  {  session in 
182184            if  session. description !=  nil  { 
183185              Button  { 
@@ -220,13 +222,17 @@ public struct ScheduleView: View {
220222                  . clipShape ( Circle ( ) ) 
221223              ) 
222224              . frame ( width:  60 ) 
225+               . accessibilityElement ( children:  . ignore) 
226+               . accessibilityIgnoresInvertColors ( ) 
223227          } 
224228        }  else  { 
225229          Image ( . tokyo) 
226230            . resizable ( ) 
227231            . aspectRatio ( contentMode:  . fit) 
228232            . clipShape ( Circle ( ) ) 
229233            . frame ( width:  60 ) 
234+             . accessibilityElement ( children:  . ignore) 
235+             . accessibilityIgnoresInvertColors ( ) 
230236        } 
231237      } 
232238      VStack ( alignment:  . leading)  { 
@@ -257,6 +263,7 @@ public struct ScheduleView: View {
257263        } 
258264      } 
259265      . frame ( maxWidth:  . infinity,  alignment:  . leading) 
266+       . accessibilityElement ( children:  . combine) 
260267    } 
261268  } 
262269
0 commit comments