add missing role="menu" attrs to .dropdown-menu elements in docs+examples

Docs audit prompted by #13697.