Manufacturers have to deal with different size requirements for different airlines and the airlines often change these requirements unilaterally. Literally, it's really up to the purchaser to ensure that the bag conforms to whichever airline will be used.
As mentioned before, AC's first concern is usually weight. If you're within that requirement, it's rare they'll ding you for 3".