We characterize weighted inequalities corresponding to the embedding of a class of absolutely continuous functions into a fractional-order Sobolev space. As auxiliary results of the paper, which are also of independent interest, we obtain several new types of necessary and sufficient conditions for the boundedness of the Hardy–Steklov operator (integral operator with two variable limits) in weighted Lebesgue spaces.