Selectmenu: Copy element title and accesskey attributes

Canges for #1034 

Question: what about attributes for list items?
No space before the function.