A computer-implemented method for checking bidirectional text in text content, comprising: dividing the text content into the plurality of text parts; for each text part of the plurality of text parts in the text content: determining an intrinsic text direction of the text part, wherein the intrinsic text direction identifies a text direction of the text part based on directional attributes of characters of the text part; determining a declared text direction associated with the text part, wherein the declared text direction indicates an expected direction of the text part based on surrounding markup or control characters surrounding the text part; comparing the intrinsic text direction to the declared text direction; determining that there is a mismatch between the intrinsic text direction and the declared text direction based on the comparison when the intrinsic text direction is left-to-right and the declared text direction is right-to-left, or when the intrinsic text direction is right-to-left and the declared text direction is left-to-right; determining that there is not a mismatch between the intrinsic text direction and the declared text direction based on the comparison when either the intrinsic text direction or the declared text direction is at least one of neutral, mixed, undefined or than left-to-right or right-to-left; generating, with a computing device, a bidirectional text error based identifying the mismatch; and reporting the bidirectional text error. dividing the text content into the plurality of text parts; for each text part of the plurality of text parts in the text content: determining an intrinsic text direction of the text part, wherein the intrinsic text direction identifies a text direction of the text part based on directional attributes of characters of the text part; determining a declared text direction associated with the text part, wherein the declared text direction indicates an expected direction of the text part based on surrounding markup or control characters surrounding the text part; comparing the intrinsic text direction to the declared text direction; determining that there is a mismatch between the intrinsic text direction and the declared text direction based on the comparison when the intrinsic text direction is left-to-right and the declared text direction is right-to-left, or when the intrinsic text direction is right-to-left and the declared text direction is left-to-right; determining that there is not a mismatch between the intrinsic text direction and the declared text direction based on the comparison when either the intrinsic text direction or the declared text direction is at least one of neutral, mixed, undefined or than left-to-right or right-to-left; generating, with a computing device, a bidirectional text error based identifying the mismatch; and reporting the bidirectional text error. determining an intrinsic text direction of the text part, wherein the intrinsic text direction identifies a text direction of the text part based on directional attributes of characters of the text part; determining a declared text direction associated with the text part, wherein the declared text direction indicates an expected direction of the text part based on surrounding markup or control characters surrounding the text part; comparing the intrinsic text direction to the declared text direction; determining that there is a mismatch between the intrinsic text direction and the declared text direction based on the comparison when the intrinsic text direction is left-to-right and the declared text direction is right-to-left, or when the intrinsic text direction is right-to-left and the declared text direction is left-to-right; determining that there is not a mismatch between the intrinsic text direction and the declared text direction based on the comparison when either the intrinsic text direction or the declared text direction is at least one of neutral, mixed, undefined or than left-to-right or right-to-left; generating, with a computing device, a bidirectional text error based identifying the mismatch; and reporting the bidirectional text error.