I have been using captions on Netflix and Prime a lot lately. And have noted when they do (or do not) indicate in the caption when speakers elide letters. (As in the example, do the captions say "gonna" or "going to" when what was said was definitely the former, etc. Do the captions reflect accents, real (either of the actor or the character) or temporary (like funny voices when a parent is reading a book to a child), and so on.) It's quite interesting.
Do you have opinions about spelling those out in, say, a novel or short story?
Personally, I find it very hard to read dialog that is attempting to reflect the accent.