Bug #16123
closedAccessibility and font-size selector in RTE
0%
Description
right now RTE uses font tag to change font-size of selected text.
But "font" is deprecated. Should be used <span style="font-size: " instead.
(issue imported from #M3417)
Updated by Martin Kutschker over 18 years ago
IMHO you should classes instead. Allowing arbitrary font sizes completely destroys a layout.
Updated by Dmitry Pikhno about 18 years ago
of course you are right. but as far as we have this button in RTE it has to work right. otherwise we should completly remove this button.
Updated by Martin Kutschker about 18 years ago
I think the font-size button uses the browsers edit features directly. So it's probably Firefox and IE that create those tags.
As for removing: I never ever allow any RTE button that adds inline style to my tags.
Updated by Stanislas Rolland about 16 years ago
With patch attached to issue #7970, the RTE will use span tag with style attribute in all browsers for fontstyle and fontsize. See #7970 for more details.