Selectmenu: Copy element title and accesskey attributes

Canges for #10435