Is it ok to hide any thing temporarily or forever using display:none
? in dynamic site where many component of page coming from different plugins etc and many time if client doesn't want any thing on page then i use dispaly:none
to hide things from page . I do not remove thing from actual source because client can come back ask to enable that thing again.
so what are pros and cons to keep things hide from display:none if i keep any element hide using Display:none
forever?
is there any cons in terms of SEO, Screen reader, Accessibility etc?