Refactored toolbar a11y util and added home/end key support.