Set dir auto on all p tags in applications so browser automatically set directionality correctly #4265
Labels
Type: Enhancement
This is an improvement of an existing thing (not a new thing, which would be a feature).
By setting
dir="auto"
on all paragraphs (p-tags) browsers will set the directionality according to the first characters with strong directionality.This attribute does not inherit and cannot be set via css "direction". It must be set via javascript since the p tags are user generated.
This attribute should only be used on user generated text where directionality is not known beforehand.
The text was updated successfully, but these errors were encountered: