Related to https://github.com/phetsims/scenery/issues/873, I noticed while working on that that every association attribute (like aria-labelledby and aria-describedby) take about 150 lines. Most of that is very similar between different attributes, but not easy to refactor in its current form. We should investigate a way to simplify the 450 lines (for three of these attributes) in the middle of Accessilbility.js
Related to https://github.com/phetsims/scenery/issues/873, I noticed while working on that that every association attribute (like aria-labelledby and aria-describedby) take about 150 lines. Most of that is very similar between different attributes, but not easy to refactor in its current form. We should investigate a way to simplify the 450 lines (for three of these attributes) in the middle of Accessilbility.js