Fillers should be hidden to people using screenreaders
neoncitylights opened this issue · 2 comments
The fillers simply have no content and are for simple aesthetic purposes: filling in empty spaces and show as white/transparent rectangles. For this reason, they should automatically have aria-hidden="true"
added to these elements so the MasonJS grid system is more accessible. :)
This is the case with the examples but the intended use of fillers would have content in them. Many people use the filler objects as spare objects and they are placed into the grid as actual content pieces. Appreciate the input though - maybe there is something that could be done to detect if there isn't any content, but I worry that may be a bit too heavy handed.
Out of subject, but maybe useful to know and a little bit related to screen-readers’ question:
if you do not want any fillers in your HTML to simply play around with the grid, it seems that we can use an empty filler
option :
filler: {}
;)