bem / bem-bl

Base BEM library
http://bem.github.com/bem-bl/
198 stars 84 forks source link

Fix and refactor i-ua_interaction #491

Closed alexbaumgertner closed 10 years ago

alexbaumgertner commented 10 years ago

Now data-interaction=keyboard is set only when tab or enter or space or arrows is pressed.

See examples http://bem.github.io/bem-bl/desktop.sets/i-ua/10-i-ua/10-i-ua.ru.html

alexbaumgertner commented 10 years ago

@veged отрефакторил блок. @arikon сделал установку data-interaction=keyboard только если tab или enter или space или arrows клавиши были нажаты.

alexbaumgertner commented 10 years ago

Update examples http://bem.github.io/bem-bl/desktop.sets/i-ua/10-i-ua/10-i-ua.ru.html

arikon commented 10 years ago

@alexbaumgertner Заметил две проблемы с check-button:

arikon commented 10 years ago

@alexbaumgertner У radio-button тоже есть проблема: при перемещении фокуса стрелками нажатость кнопки тоже перемещается. Или так и должно быть?

alexbaumgertner commented 10 years ago

@arikon на check-button нельзя попасть и в примере нашей библиотекти check-button.examples/50-pseudo/50-pseudo.html radio-button так и должен работать, см. radio-button.examples/10-radio-button/10-radio-button.ru.html Внутреннюю тень у check-button поправил, спасибо, это ошибка.

alexbaumgertner commented 10 years ago

Закрыто в пользу https://github.com/bem/bem-bl/pull/493