In ArcGIS Pro domains are separated into Code | Description.

However in ArcGIS Online, this order is reversed in the domain GUI and named Label | Code:

This seems like an unnecessary deviation from how domains have always been documented and does not match the underlying JSON.
ArcGIS Online should be updated to match Pro/Desktop.