local rtl, javascript alert box
Click on the button. Test passes if the order of characters in the alert box follows that in the reference graphic below the button.

Assertion: [Exploratory test] When dir is set to rtl on a local element, text runs in a JavaScript alert box are in the correct order and characters within a directional run are in the right order.