)]}'
{
  "commit": "bf0df06822a51c4498caa88cc335a72e55a089e1",
  "tree": "5752447580a7c68cd7de5a76024160d0120d7627",
  "parents": [
    "24efcddcdb77136f817351dcee7fbddd586b2079"
  ],
  "author": {
    "name": "yaakovschectman",
    "email": "109111084+yaakovschectman@users.noreply.github.com",
    "time": "Fri Nov 17 14:21:23 2023 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Nov 17 14:21:23 2023 -0500"
  },
  "message": "Assign mojom `kSwitch` role to switches (#48146)\n\nWe have previously been using the `kToggleButton` role for any widget\r\nthat has a toggled state. Our AX library does not expect this role to be\r\nused for switches, and so would not assign the checked state to switches\r\nfor MSAA. As far as I can tell, the `Switch` is the only widget that\r\nuses the `toggled` semantic property (`ToggleButtons`, ironically, does\r\nnot), so we ought to be able to swap in the `kSwitch` role, for which\r\nthe proper states are presented. This will allow screen readers to\r\nannounce the state of a switch.\r\n\r\nhttps://github.com/flutter/flutter/issues/138500\r\n\r\n## Pre-launch Checklist\r\n\r\n- [x] I read the [Contributor Guide] and followed the process outlined\r\nthere for submitting PRs.\r\n- [x] I read the [Tree Hygiene] wiki page, which explains my\r\nresponsibilities.\r\n- [x] I read and followed the [Flutter Style Guide] and the [C++,\r\nObjective-C, Java style guides].\r\n- [x] I listed at least one issue that this PR fixes in the description\r\nabove.\r\n- [x] I added new tests to check the change I am making or feature I am\r\nadding, or the PR is [test-exempt]. See [testing the engine] for\r\ninstructions on writing and running engine tests.\r\n- [x] I updated/added relevant documentation (doc comments with `///`).\r\n- [ ] I signed the [CLA].\r\n- [x] All existing and new tests are passing.\r\n\r\nIf you need help, consider asking for advice on the #hackers-new channel\r\non [Discord].\r\n\r\n\u003c!-- Links --\u003e\r\n[Contributor Guide]:\r\nhttps://github.com/flutter/flutter/wiki/Tree-hygiene#overview\r\n[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene\r\n[test-exempt]:\r\nhttps://github.com/flutter/flutter/wiki/Tree-hygiene#tests\r\n[Flutter Style Guide]:\r\nhttps://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo\r\n[C++, Objective-C, Java style guides]:\r\nhttps://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style\r\n[testing the engine]:\r\nhttps://github.com/flutter/flutter/wiki/Testing-the-engine\r\n[CLA]: https://cla.developers.google.com/\r\n[flutter/tests]: https://github.com/flutter/tests\r\n[breaking change policy]:\r\nhttps://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes\r\n[Discord]: https://github.com/flutter/flutter/wiki/Chat",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "db5f507fe848812c9c50dbf567acf5408bc1dbc9",
      "old_mode": 33188,
      "old_path": "shell/platform/common/accessibility_bridge.cc",
      "new_id": "9a6e02065ee64f7666357bad6d5ef69ab95d9c3e",
      "new_mode": 33188,
      "new_path": "shell/platform/common/accessibility_bridge.cc"
    },
    {
      "type": "modify",
      "old_id": "fb0c839b7734ed93c035f7b58e84118fa1cab994",
      "old_mode": 33188,
      "old_path": "shell/platform/common/accessibility_bridge_unittests.cc",
      "new_id": "796670e3ab9b085f9b010ebc6dd8ec8fff2b9f6d",
      "new_mode": 33188,
      "new_path": "shell/platform/common/accessibility_bridge_unittests.cc"
    },
    {
      "type": "modify",
      "old_id": "6f4d5fc85650fd029a8adb1600cf7b999bb6340f",
      "old_mode": 33188,
      "old_path": "shell/platform/windows/flutter_windows_view_unittests.cc",
      "new_id": "39cea644c78dcc224c7c8535fe024547f66137ce",
      "new_mode": 33188,
      "new_path": "shell/platform/windows/flutter_windows_view_unittests.cc"
    }
  ]
}
