Closed alexbaumgertner closed 10 years ago
@veged отрефакторил блок.
@arikon сделал установку data-interaction=keyboard только если tab
или enter
или space
или arrows
клавиши были нажаты.
@alexbaumgertner Заметил две проблемы с check-button
:
check-button
нажатием на tab
@alexbaumgertner У radio-button
тоже есть проблема: при перемещении фокуса стрелками нажатость кнопки тоже перемещается. Или так и должно быть?
@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
поправил, спасибо, это ошибка.
Закрыто в пользу https://github.com/bem/bem-bl/pull/493
Now data-interaction=keyboard is set only when
tab
orenter
orspace
orarrows
is pressed.See examples http://bem.github.io/bem-bl/desktop.sets/i-ua/10-i-ua/10-i-ua.ru.html