Using "u-srOnly" in a phrase with {icon} with XF 2.3?

Using "u-srOnly" in a phrase with {icon} with XF 2.3?
0
4
With XF 2.0 - 2.2 we could use <i class="fas fa-home"><span class="u-srOnly">Home</span></i> to have an icon in a phrase that was still screen reader friendly. With XF 2.3 the icon tag would now be {icon:fas::home} -- what'd be the best way of incorporating u-srOnly into there?

Something like {icon:fas::home}<span class="u-srOnly">Home</span> maybe? 🤔

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ
Яндекс.Метрика