The quality of an article is determined on the basis of its contribution to the area or field of the research concerned. Often, the judgement may be relative and vary person to person. But the expert and the experienced people can judge the quality of the articles in a uniform way. You may refer the editorial and quality policy of reputed journals to know how they define and estimate the quality of the articles.