Selectmenu: Copy element title and accesskey attributes

Canges for #1034 

Question: what about attributes for list items?
Anyway, there's nothing to restore because we don't modify the original element at all. I think this whole test change can be removed.