The Widal test detects antibodies in patient serum that agglutinate Salmonella typhi and paratyphi antigens. It was developed in 1896 by Georges Widal and is useful for diagnosing typhoid fever in endemic areas without culture facilities. The test involves mixing patient serum with O and H antigens of S. typhi and S. paratyphi and observing for agglutination, which indicates the presence of antibodies. A rising titre in sequential samples supports a diagnosis of typhoid fever.