Minecraft wiki entry for Development_versions, associated text: Added a UI to control saddle/inventory.
Can be accessed by sneaking and right-clicking, or by pressing the inventory button while riding.
Some features of the UI are specific to situation:
Donkeys have a saddle slot.
Doesn't have an armor slot, but has an inventory of 15 slots when given a chest.