this is an updated version of this PR from August: ryancramerdesign/ProcessWire#1758 and we spoke about it here: #1.
Since I found some things to improve I created this PR here anew albeit initially taking your offer of cherry picking the old one (hopefully you did not already start :/ )
CLA is signed. I'm happy to answer any questions related to the improvements :)
Improve accessibility in site profiles
Thanks @marcus-herrmann I've been meaning to add these updates, and having this PR is a great help. I've gone ahead and added this. Thanks again.