Measure the narrowest opening with the door in its normal open position. A hinge, trim strip, or face frame can take up space that looks available from farther back.
Measure depth from the front edge to the first obstacle. Fold a piece of cardboard to the proposed tray size and slide it in with your hand where the handle will be.
Tell the maker, “The shelf is wider inside, but this is the smallest opening the tray must pass through. Can we leave enough room for my fingers?”