'How to force the iOS screen reader to spell out a word instead of read it?

In iOS, the accessibility screen reader is not spelling a word whereas in Android it spells out the word like I want. I have tried the below options with no luck. Also tried with punctuation marks between the letters.

aria-label="N.K.E.P.X.1.3.5.K.L"

I have seen that speak and speak-as properties are deprecated now and no longer supported on all platforms.

<span style="speak-as: spell-out;" aria-label="N K E P X 1 3 5 K L">NKEPX135KL</span>

Can someone show me how to spell the word?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source