implements support for 'focus' attribute