button's class attribute respects default value