Clay: IE: Tabbing through the document focuses SVG elements

Created on 8 Feb 2018  路  4Comments  路  Source: liferay/clay

Clay SVG's need the attribute focusable="false"

next-release bug

All 4 comments

hey @pat270 focusable="false" is for all use cases? ClayIcon?

@matuzalemsteles, yes I think so. Anytime you would want it to be focusable, it would be wrapped in a button, anchor, or the element would have tabindex="0". The only case I can think of (where you don't want focusable="false") is if you bind a js user event directly to the svg.

Let's just add a param focusable to the state with default value false, just in case we need it to be true in some case ;)

Thanks @pat270 for the clarifying!

@carloslancha, sound good.

Was this page helpful?
0 / 5 - 0 ratings