Apple has tons of accessibility features that don't benefit automated testing at all. It's clearly been made a priority regardless of profitability.
click("Enable Frobzinator") is infinitely more maintainable than click(button().index(7)), and if you eventually remove the accessibility description, your test fails, letting you immediately know what's wrong, and whether it's the test no longer up to date, or if you broke something.