a26f14d314
The table button can become a menu button when the cursor's position in the editor is within a table. So we'd need to update the button with ARIA attributes appropriate for a menu button. This is best done when the button's highlight gets toggled, so we're adding an event listener for when this happens and add/remove the ARIA attributes accordingly.