Narration for an advancement will show text narration but will not play audio if you are in a player exclusive menu. This includes: Player Inventory, Codex, and Builder (Build menu).
This issue does not persist when in a non player exclusive menu, IE: Crafter, Storage, ETC