When enumerating over the attributed string to generate accessibility elements, require "longest effective range" so that runs of characters outside of links are unbroken.
When the LongestEffectiveRangeNotRequired option is set, the enumeration separates runs when any attribute changes. For example, if part of the string is italicized, it'll be a separate element.
By not setting the option, separate accessibility elements are only generated for links.
When enumerating over the attributed string to generate accessibility elements, require "longest effective range" so that runs of characters outside of links are unbroken.
When the LongestEffectiveRangeNotRequired option is set, the enumeration separates runs when any attribute changes. For example, if part of the string is italicized, it'll be a separate element.
By not setting the option, separate accessibility elements are only generated for links.