Skip to content

Instantly share code, notes, and snippets.

Accessibility testing with Playwright [WIP]

Why

  • native input events

Common issues

  • Unable to read
    • Incorrect screen reader (VoiceOver) behavior
      • Focus landing on wrong element
  • Focus order is incorrect
@arjunattam
arjunattam / tabs.scpt
Created April 28, 2022 10:21
Open a new Chrome window with Safari tabs from your phone
set newline to {return & linefeed, return, linefeed, character id 8233, character id 8232}
on split_text(the_text, the_delimiter)
set AppleScript's text item delimiters to the_delimiter
set the_text_items to every text item of the_text
set AppleScript's text item delimiters to ""
return the_text_items
end split_text
set the_query to "'select url from cloud_tabs where device_uuid = (select device_uuid from cloud_tab_devices where device_name like \"%iPhone%\")'"